mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
d71b7d01e8
Since r230724 ("Skip promotable allocas to improve performance at -O0"), there is a regression in the generated debug info for those non-instrumented variables. When inspecting such a variable's value in LLDB, you often get garbage instead of the actual value. ASan instrumentation is inserted before the creation of the non-instrumented alloca. The only allocas that are considered standard stack variables are the ones declared in the first basic-block, but the initial instrumentation setup in the function breaks that invariant. This patch makes sure uninstrumented allocas stay in the first BB. Differential Revision: http://reviews.llvm.org/D11179 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242510 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
X86 | ||
adaptive_global_redzones.ll | ||
asan-vs-gvn.ll | ||
basic.ll | ||
debug_info_noninstrumented_alloca.ll | ||
debug_info.ll | ||
do-not-instrument-cstring.ll | ||
do-not-instrument-internal-globals.ll | ||
do-not-instrument-llvm-metadata-darwin.ll | ||
do-not-instrument-llvm-metadata.ll | ||
do-not-instrument-promotable-allocas.ll | ||
do-not-touch-comdat-global.ll | ||
do-not-touch-odr-global.ll | ||
do-not-touch-threadlocal.ll | ||
experiment-call.ll | ||
experiment.ll | ||
freebsd.ll | ||
global_metadata.ll | ||
instrument_global.ll | ||
instrument_initializer_metadata.ll | ||
instrument_load_then_store.ll | ||
instrument-dynamic-allocas.ll | ||
instrument-no-return.ll | ||
instrument-stack.ll | ||
instrumentation-with-call-threshold.ll | ||
lifetime-uar.ll | ||
lifetime.ll | ||
stack_dynamic_alloca.ll | ||
stack_layout.ll | ||
stack-poisoning.ll | ||
test64.ll | ||
ubsan.ll |