summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_simplifier_test.cc
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2021-05-06 00:19:19 +0100
committer Roland Levillain <rpl@google.com> 2021-05-27 13:28:37 +0000
commitbdf1737bd17132525bcfdc778663123b61e97fa3 (patch)
treeec097408de25394ac6444ae0589fcfa41d400257 /compiler/optimizing/instruction_simplifier_test.cc
parentf2d1a510bf36f98e0607f0527299789a64d755c9 (diff)
Introduce `art::FastExit` to replace all uses of `quick_exit` in ART.
No longer use `quick_exit(3)` in ART, as it does not play well with Clang's code coverage instrumentation (see b/187935521 and b/186576313). Replace all its uses with a new routine, `art::FastExit`, calling either `exit(3)` when ART is built with Clang's code coverage instrumentation (in order to dump coverage profiles when the program terminates) or `_exit(2)` otherwise (to exit quickly). Function `art::FastExit` is implemented as part of the `art_libartbase_headers` header library, so that it can be used easily in `dalvikvm`. Test: mmma art Test: ART tests Bug: 186576313 Bug: 187935521 Change-Id: I7b4f86f6f0e7b12814684ecea73a2ed0ef994395
Diffstat (limited to 'compiler/optimizing/instruction_simplifier_test.cc')
0 files changed, 0 insertions, 0 deletions