diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-06-01 21:40:26 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-06-01 21:40:26 +0000 |
commit | 0f6ccc2517d29e58d6b7cec2e8f42daa313348a7 (patch) | |
tree | 582297646f439000d35b398cbb6b523d30db2578 | |
parent | 3b9c2b6499116dae58757cdce73a27c8e7a47173 (diff) | |
parent | fc0691cc2c46ec53c035bc227c15ed66a5dbd858 (diff) | |
download | extras-0f6ccc2517d29e58d6b7cec2e8f42daa313348a7.tar.gz |
Merge "Remove at_quick_exit call" into sc-dev am: fc0691cc2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/extras/+/14789007
Change-Id: Iee5a903a02b06d4e6096985b84a044dd2b5bba55
-rw-r--r-- | toolchain-extras/profile-clang-extras.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/toolchain-extras/profile-clang-extras.cpp b/toolchain-extras/profile-clang-extras.cpp index 4e5aca97..89c18b2a 100644 --- a/toolchain-extras/profile-clang-extras.cpp +++ b/toolchain-extras/profile-clang-extras.cpp @@ -36,16 +36,6 @@ static void llvm_signal_handler(__unused int signum) { } } -#if __ANDROID_API__ >= 21 -void writeFileWithoutReturn() { - __llvm_profile_write_file(); -} - -__attribute__((constructor)) void register_quick_exit_handler(void) { - at_quick_exit(writeFileWithoutReturn); -} -#endif // #if __ANDROID_API__ >= 21 - __attribute__((weak)) int init_profile_extras_once = 0; // Initialize libprofile-extras: |