commit | 906d88c7d1b83597732322f01ae233a5efc958a0 | [log] [tgz] |
---|---|---|
author | Pirama Arumuga Nainar <pirama@google.com> | Thu Apr 29 17:24:38 2021 -0700 |
committer | Pirama Arumuga Nainar <pirama@google.com> | Thu Apr 29 17:27:54 2021 -0700 |
tree | e2796567067cb9bad3ffaa7e2b9985b279d4d08d | |
parent | 200df5e5f32a0c6f10e999c53cb372e893b3b71d [diff] |
Register __llvm_profile_write_file with at_quick_exit Bug: http://b/186576313 This allows programs to call quick_exit() to avoid static destructors but still be able to write coverage data. This is a workaround until we add at_quick_exit to libclang_rt.profile. Test: Change dex2oat to call quick_exit instead of _exit and verify that coverage data gets written. Change-Id: Iaaa438a4c999ca9506b9b2f9dbfd2ef37808aa16