diff options
author | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2018-12-11 21:13:53 +0000 |
---|---|---|
committer | Wolfgang Pieb <Wolfgang.Pieb@sony.com> | 2018-12-11 21:13:53 +0000 |
commit | ac874c48ca1071d853a819bf93fe0b95c1122e90 (patch) | |
tree | 90972b1c4517fc8f6d00bba69b25135f8000a6ee /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 79c994d9767212c97f87846c7cd76e678f889052 (diff) | |
download | llvm-ac874c48ca1071d853a819bf93fe0b95c1122e90.zip llvm-ac874c48ca1071d853a819bf93fe0b95c1122e90.tar.gz llvm-ac874c48ca1071d853a819bf93fe0b95c1122e90.tar.bz2 |
[Debuginfo] Prevent CodeGenPrepare from dropping debuginfo references.
This fixes PR39845. CodeGenPrepare employs a transactional model when
performing optimizations, i.e. it changes the IR to attempt an optimization
and rolls back the change when it finds the change inadequate. It is during
the rollback that references to locals were dropped from debug value
intrinsics. This patch reinstates debuginfo references during rollbacks.
Reviewers: aprantl, vsk
Differential Revision: https://reviews.llvm.org/D55396
llvm-svn: 348896
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions