forked from OSchip/llvm-project
d458f37932
trapOnAddress is designed to SEGV on a specific address. Unfortunately, with an IR change, __builtin_unreachable() ends up doing DCE on things that have side effects, like the load that causes the trap. Change to __builtin_trap() to avoid the optimisation. Root cause is still an LLVM bug, and tracked in https://bugs.llvm.org/show_bug.cgi?id=47480. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D105654 |
||
---|---|---|
.. | ||
optional | ||
platform_specific | ||
scripts | ||
tests | ||
CMakeLists.txt | ||
common.cpp | ||
common.h | ||
crash_handler.cpp | ||
crash_handler.h | ||
definitions.h | ||
guarded_pool_allocator.cpp | ||
guarded_pool_allocator.h | ||
mutex.h | ||
options.h | ||
options.inc | ||
stack_trace_compressor.cpp | ||
stack_trace_compressor.h | ||
utilities.h |