diff options
author | Rui Ueyama <ruiu@google.com> | 2018-03-07 22:29:48 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-03-07 22:29:48 +0000 |
commit | 6aa8b3491f866eadfa0b7e9aef21a416fac466f9 (patch) | |
tree | cf01742382e9481da9581758b6bad952d8a69294 /llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp | |
parent | 8e3a659105fc0934841d857193bc1521ae070b39 (diff) | |
download | bcm5719-llvm-6aa8b3491f866eadfa0b7e9aef21a416fac466f9.tar.gz bcm5719-llvm-6aa8b3491f866eadfa0b7e9aef21a416fac466f9.zip |
Revert r326932: [DebugInfo] Support DWARF expressions in eh_frame
This reverts commit rr326932 because it broke lld/test/ELF/eh-frame-hdr-augmentation.s.
llvm-svn: 326953
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp b/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp index a9ea26c476c..c704c2901ae 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp @@ -258,10 +258,9 @@ bool DWARFExpression::Operation::print(raw_ostream &OS, return true; } -void DWARFExpression::print(raw_ostream &OS, const MCRegisterInfo *RegInfo, - bool IsEH) const { +void DWARFExpression::print(raw_ostream &OS, const MCRegisterInfo *RegInfo) { for (auto &Op : *this) { - if (!Op.print(OS, this, RegInfo, IsEH)) { + if (!Op.print(OS, this, RegInfo, /* isEH */ false)) { uint32_t FailOffset = Op.getEndOffset(); while (FailOffset < Data.getData().size()) OS << format(" %02x", Data.getU8(&FailOffset)); |