aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-11-09 16:36:47 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2020-11-09 16:47:30 -0800
commit0ca90eb3350b9e8c606fdf1ca0496e0bf3e330ec (patch)
tree655fc2f08c9ebee316e1203cd0e84083f136bc77 /clang/lib/CodeGen
parent6ac12b5b6c5dc2c705f6e638cf6f5d50118abe92 (diff)
downloadllvm-0ca90eb3350b9e8c606fdf1ca0496e0bf3e330ec.zip
llvm-0ca90eb3350b9e8c606fdf1ca0496e0bf3e330ec.tar.gz
llvm-0ca90eb3350b9e8c606fdf1ca0496e0bf3e330ec.tar.bz2
[lldb] Don't use ::exit but instead return from the driver loop (NFC)
This fixes a reproducer test failure that was caused by the undefined order in which global destructors run. More concretely, the static instance of the RealFileSystem had been destroyed before we finalized the reproducer, which uses it to copy files into the reproducer. By exiting normally, we call SBDebugger::Terminate and finalize the reproducer before any static dtors are run.
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions