mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
cbd84586ef
Instead of creating global variables for source locations and global names, just create metadata nodes and strings. They will be transformed into actual globals in the instrumentation pass (if necessary). This approach is more flexible: 1) we don't have to ensure that our custom globals survive all the optimizations 2) if globals are discarded for some reason, we will simply ignore metadata for them and won't have to erase corresponding globals 3) metadata for source locations can be reused for other purposes: e.g. we may attach source location metadata to alloca instructions and provide better descriptions for stack variables in ASan error reports. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214604 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
X86 | ||
adaptive_global_redzones.ll | ||
asan-vs-gvn.ll | ||
basic.ll | ||
coverage-dbg.ll | ||
coverage.ll | ||
debug_info.ll | ||
do-not-instrument-internal-globals.ll | ||
do-not-instrument-llvm-metadata.ll | ||
do-not-touch-comdat-global.ll | ||
do-not-touch-odr-global.ll | ||
do-not-touch-threadlocal.ll | ||
freebsd.ll | ||
global_metadata.ll | ||
instrument_global.ll | ||
instrument_initializer_metadata.ll | ||
instrument_load_then_store.ll | ||
instrument-no-return.ll | ||
instrumentation-with-call-threshold.ll | ||
keep-instrumented_functions.ll | ||
lifetime-uar.ll | ||
lifetime.ll | ||
stack_layout.ll | ||
stack-poisoning.ll | ||
test64.ll | ||
ubsan.ll |