aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2020-05-13 10:29:02 +0100
committerJames Henderson <james.henderson@sony.com>2020-05-21 13:27:10 +0100
commit79e5ecfa7a6c19ff08d39664bd30f72ab6e4f940 (patch)
tree48cefdc1772da9ef094c64dc8db6b19aeca8cddb /llvm/lib/Support/StringRef.cpp
parentb263fee4d2c9c79980775f6d4bfefa3bbda8241b (diff)
downloadllvm-79e5ecfa7a6c19ff08d39664bd30f72ab6e4f940.zip
llvm-79e5ecfa7a6c19ff08d39664bd30f72ab6e4f940.tar.gz
llvm-79e5ecfa7a6c19ff08d39664bd30f72ab6e4f940.tar.bz2
On Windows, handle interrupt signals without crash message
For LLVM on *nix systems, the signal handlers are not run on signals such as SIGINT due to CTRL-C. See sys::CleanupOnSignal. This makes sense, as such signals are not really crashes. Prior to this change, this wasn't the case on Windows, however. This patch changes the Windows behaviour to be consistent with Linux, and adds testing that verifies this. The test uses llvm-symbolizer, but any tool with an interactive mode would do the job. Fixes https://bugs.llvm.org/show_bug.cgi?id=45754. Reviewed by: MaskRay, rnk, aganea Differential Revision: https://reviews.llvm.org/D79847
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions