OSDN Git Service

Disable all LLVM signal handlers.
authorNicolas Capens <capn@google.com>
Wed, 11 May 2016 18:12:49 +0000 (14:12 -0400)
committerNicolas Capens <capn@google.com>
Thu, 12 May 2016 18:33:22 +0000 (18:33 +0000)
commit6631fb2437ba577000c8826be302efde2bf11b28
treee26a600088378590e701ef2c891da6b290ed592e
parent8487119f8c8bc476a456be03b6594fe28444dea5
Disable all LLVM signal handlers.

This fixes issues on Android where applications use these signals in their
normal course of execution. The Mono C# framework uses SIGXCPU for garbage
collection, and ART uses SIGSEGV, SIGQUIT, and SIGUSR1.

Bug 27555932

Change-Id: I4977b8f0419da660a57a8eeef20a7fe747921a63
Reviewed-on: https://swiftshader-review.googlesource.com/5345
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
third_party/LLVM/lib/Support/CrashRecoveryContext.cpp
third_party/LLVM/lib/Support/Unix/Program.inc
third_party/LLVM/lib/Support/Unix/Signals.inc