llvm-project/clang/tools/driver
Alexandre Ganea 28ad9fc208 [Clang][Driver] In -fintegrated-cc1 mode, avoid crashing on exit after a compiler crash
After a crash catched by the CrashRecoveryContext, this patch prevents from accessing dangling pointers in TimerGroup structures before the clang tool exits. Previously, the default TimerGroup had internal linked lists which were still pointing to old Timer or TimerGroup instances, which lived in stack frames released by the CrashRecoveryContext.

Fixes PR45164.

Differential Revision: https://reviews.llvm.org/D76099
2020-03-13 08:15:35 -04:00
..
CMakeLists.txt Generalize the pass registration mechanism used by Polly to any third-party tool 2020-01-02 16:45:31 +01:00
Info.plist.in [CMake] Fixing typo in Info.plist generation 2016-08-16 20:49:49 +00:00
cc1_main.cpp [Clang] When -ftime-trace is used, clean CompilerInstance::OutputFiles before exiting cc_main() 2020-02-12 17:02:57 -05:00
cc1as_main.cpp [MC] De-capitalize MCStreamer::Emit{Bundle,Addrsig}* etc 2020-02-15 09:11:48 -08:00
cc1gen_reproducer_main.cpp Remove unused Endian.h includes, NFC 2020-03-11 15:45:34 -07:00
driver.cpp [Clang][Driver] In -fintegrated-cc1 mode, avoid crashing on exit after a compiler crash 2020-03-13 08:15:35 -04:00