diff options
author | Jeremy Morse <jeremy.morse@sony.com> | 2021-08-20 14:48:45 +0100 |
---|---|---|
committer | Jeremy Morse <jeremy.morse@sony.com> | 2021-08-20 14:51:02 +0100 |
commit | ce8254d096baf81609da2dd0e3dd7ea3387f6aa0 (patch) | |
tree | f4d827af4ed5b79745fafcc89caf0ee958105703 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 48f73ee666a264d23716ff6bb671cad836b65ccf (diff) | |
download | llvm-ce8254d096baf81609da2dd0e3dd7ea3387f6aa0.zip llvm-ce8254d096baf81609da2dd0e3dd7ea3387f6aa0.tar.gz llvm-ce8254d096baf81609da2dd0e3dd7ea3387f6aa0.tar.bz2 |
[DebugInfo][InstrRef] Correctly ignore DBG_VALUE_LIST in InstrRef mode
This patch makes InstrRefBasedLDV "safe" to work with DBG_VALUE_LISTs. It
doesn't actually interpret them, but it recognises that they specify
variable locations and avoids propagating false locations, which is better
than the current state. Observe the attached tes
* We avoid propagating DBG_VALUE_LISTs into successor blocks, as they're
not "currently" supported,
* We don't propagate other variable locations across DBG_VALUE_LISTs,
because we know that the variable location is terminated by the
DBG_VALUE_LIST.
Differential Revision: https://reviews.llvm.org/D108143
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions