Disable LLVM & Subzero stack traces and crash handling
LLVM has custom crash handling and stack trace printing code which may
interfere with the application's error handling. Specifically,
AddressSanitizer makes calls to SymInitialize() and SymSetOptions().
This change disables the config options, and adds a missing preprocessor
conditional for ENABLE_BACKTRACES on Windows to match the Unix behavior.
Bug: chromium:1033484
Change-Id: I3aa35d418212448c15eba4b0c3cc5b55c2da006e
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/39888
Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Tested-by:
Nicolas Capens <nicolascapens@google.com>
Showing
Please
register
or
sign in
to comment