summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2021-05-19 10:30:01 -0700
committerPirama Arumuga Nainar <pirama@google.com>2021-06-01 10:48:13 -0700
commitac2789745fef896809548b1c1e894c1e3a15d68d (patch)
treea2c7fbe318941af30c50ccb17b0c76930ff1ffa3
parentc4d103c8757dcf7b9024855795854d9eb9c73650 (diff)
downloadextras-ac2789745fef896809548b1c1e894c1e3a15d68d.tar.gz
Remove at_quick_exit call
This doesn't help with coverage for ART tools. Bug: http://b/186576313 Test: N/A Change-Id: I5c2ab63485f2b07d9e026492835072ab85dcccfb (cherry picked from commit 91e13733870df7f6df8aa68d0b17711ba98c3c5a)
-rw-r--r--toolchain-extras/profile-clang-extras.cpp10
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: