summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2022-05-16 16:03:47 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2022-05-16 16:52:16 -0700
commit4680982b36a84770a1600fc438be8ec090671724 (patch)
tree73b29c4770923ed67f8d27a9b26901b995ae0e57 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4c5b187f2c065648799e109a6754917e642dc659 (diff)
[dwarf] Emit a DIGlobalVariable for constant strings.
An upcoming patch will extend llvm-symbolizer to provide the source line information for global variables. The goal is to move AddressSanitizer off of internal debug info for symbolization onto the DWARF standard (and doing a clean-up in the process). Currently, ASan reports the line information for constant strings if a memory safety bug happens around them. We want to keep this behaviour, so we need to emit debuginfo for these variables as well. Reviewed By: dblaikie, rnk, aprantl Differential Revision: https://reviews.llvm.org/D123534
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions