llvm-project/lldb/tools/driver
Adrian McCarthy 6c84ffbf5f Fix the SIGINT handlers
1. Fix a data race (g_interrupt_sent flag usage was not thread safe, signals
can be handled on arbitrary threads)

2. exit() is not signal-safe, replaced it with the signal-safe equivalent
_exit()

(This differs from the patch on Phabrictor because I had to add
`#include <atomic>` to get the definition of `std::atomic_flag`.)

patch by lemo

Differential Revision: https://reviews.llvm.org/D37926

llvm-svn: 313785
2017-09-20 18:09:39 +00:00
..
CMakeLists.txt [cmake] Remove VERSION property from executable targets 2017-02-01 19:12:22 +00:00
Driver.cpp Fix the SIGINT handlers 2017-09-20 18:09:39 +00:00
Driver.h Finish breaking the dependency from Utility. 2017-02-16 19:38:21 +00:00
Platform.cpp Another windows build fix 2017-01-06 13:07:09 +00:00
Platform.h [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00
lldb-Info.plist Update the INFOPLIST_FILE setting in the xcode project file 2016-03-24 22:27:52 +00:00