aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-07-01 16:40:31 -0700
committerFangrui Song <maskray@google.com>2020-07-01 16:41:55 -0700
commit48c196f5c8b339c347d0a4ecf944c942fa5df765 (patch)
tree6ae17012bbc6c392be528471b835edd52a670bfa /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parent6f13299c02d4c9d8a3f1cd81e8b02c91d5a2fe66 (diff)
downloadllvm-48c196f5c8b339c347d0a4ecf944c942fa5df765.zip
llvm-48c196f5c8b339c347d0a4ecf944c942fa5df765.tar.gz
llvm-48c196f5c8b339c347d0a4ecf944c942fa5df765.tar.bz2
[gcov] Move llvm_writeout_files from atexit to a static destructor
atexit registered functions run earlier so `__attribute__((destructor))` annotated functions cannot be tracked. Set a priority of 100 (compatible with GCC 7 onwards) to track destructors and destructors whose priorities are greater than 100. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7970 Reviewed By: calixte, marco-c Differential Revision: https://reviews.llvm.org/D82253
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions