summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2017-09-20 18:09:39 +0000
committerAdrian McCarthy <amccarth@google.com>2017-09-20 18:09:39 +0000
commit6c84ffbf5fd9d50995eee0a8fbf9efafe08790d7 (patch)
tree5204c03fbb03e92c8b1b67e0fa359d3f48b2d062 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentb9be53634c872979cad369808313b0aad143fed9 (diff)
downloadbcm5719-llvm-6c84ffbf5fd9d50995eee0a8fbf9efafe08790d7.tar.gz
bcm5719-llvm-6c84ffbf5fd9d50995eee0a8fbf9efafe08790d7.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud