summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_thumb_test.cc
diff options
context:
space:
mode:
author Yabin Cui <yabinc@google.com> 2023-03-03 15:17:36 -0800
committer Yabin Cui <yabinc@google.com> 2023-03-08 17:41:17 +0000
commitbdbd707a8fe4e39912b64c83c91af1a65d3a8c5a (patch)
treee75b31c0a2ebb38a61653388a86c2e76a485934e /compiler/utils/assembler_thumb_test.cc
parentf8f1eaf6960d499860e1236ba13502aae1de5a1b (diff)
Disable ScopedTrace in static libdexfile
Static libdexfile is only used for dex2oat and tests on host, and used by simpleperf on device. Both places don't care about traces. Static libdexfile is used in simpleperf static binary in NDK. So it needs to avoid dlopen caused by ScopedTrace. So make below changes: 1) To avoid calling dlopen, disable ScopedTrace in static libdexfile. 2) To prevent using dlopen in static libdexfile in the future, build art_libdexfile_static_tests as a static binary on device. Bug: 270754876 Test: run art_libdexfile_static_tests Change-Id: I12d6290eddac35df73ff0670b6f0a3065ace34df
Diffstat (limited to 'compiler/utils/assembler_thumb_test.cc')
0 files changed, 0 insertions, 0 deletions