OSDN Git Service

Disable SIGXCPU signal handling by LLVM.
authorNicolas Capens <capn@google.com>
Wed, 9 Mar 2016 04:14:14 +0000 (23:14 -0500)
committerNicolas Capens <capn@google.com>
Wed, 9 Mar 2016 22:37:29 +0000 (22:37 +0000)
commit904bdd67214496cc1cc81a95b2d1daa35f9531aa
tree3baa061d1ebc113c13b3059b7866ced025afd8c5
parent16116cb55a35faa5f6c56cee5665a80e49e60c30
Disable SIGXCPU signal handling by LLVM.

SIGXCPU is used by Mono, the C# framework used by the Unity game engine.
LLVM does not make any setrlimit(RLIMIT_CPU) calls, so when the SIGXCPU
signal is raised it is not up to LLVM to decide how to handle it.

Bug 23017372

Change-Id: I292b0eac527c5efd66022e6f75bbcb68879a30a4
Reviewed-on: https://swiftshader-review.googlesource.com/4940
Reviewed-by: Greg Hartman <ghartman@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/LLVM/lib/Support/Unix/Signals.inc