Commit 3e9b79ff by Nicolas Capens Committed by Nicolas Capens

Enable named mmap usage on Android

Naming 'anonymous' mmap memory, which we use for Reactor's executable memory, enables profilers to attribute JIT-compiled routine execution to SwiftShader. Bug: b/174801963 Change-Id: I3b1558fb89d1cac42f65be0609cfa5ac2a8319ef Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/52129Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarJason Macnak <natsu@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
parent aec0826a
......@@ -201,6 +201,7 @@ cc_defaults {
],
cflags: [
"-DREACTOR_ANONYMOUS_MMAP_NAME=swiftshader_jit",
"-Wno-unused-parameter",
"-Wno-implicit-fallthrough",
],
......@@ -233,6 +234,7 @@ cc_defaults {
],
cflags: [
"-DREACTOR_ANONYMOUS_MMAP_NAME=swiftshader_jit",
"-Wno-unused-parameter",
"-Wno-implicit-fallthrough",
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment