diff options
| author | Adrian Prantl <aprantl@apple.com> | 2015-03-02 22:02:33 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2015-03-02 22:02:33 +0000 |
| commit | 92da14b24402ece7602f4ee5d283e8baad7959c5 (patch) | |
| tree | 0b7cc3d94029975c102a4f511e96149b45e46f53 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
| parent | 446a0d1329b7621f41d229c7108962d7b554db37 (diff) | |
| download | bcm5719-llvm-92da14b24402ece7602f4ee5d283e8baad7959c5.tar.gz bcm5719-llvm-92da14b24402ece7602f4ee5d283e8baad7959c5.zip | |
Refactor DebugLocDWARFExpression so it doesn't require access to the
TargetRegisterInfo. DebugLocEntry now holds a buffer with the raw bytes
of the pre-calculated DWARF expression.
Ought to be NFC, but it does slightly alter the output format of the
textual assembly.
This reapplies 230930 without the assertion in DebugLocEntry::finalize()
because not all Machine registers can be lowered into DWARF register
numbers and floating point constants cannot be expressed.
llvm-svn: 231023
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 1c0e163f5ff..1fa56f57298 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -577,7 +577,8 @@ public: /// \brief Emit an entry for the debug loc section. This can be used to /// handle an entry that's going to be emitted into the debug loc section. - void emitDebugLocEntry(ByteStreamer &Streamer, const DebugLocEntry &Entry); + void emitDebugLocEntry(ByteStreamer &Streamer, + const DebugLocEntry &Entry); /// \brief emit a single value for the debug loc section. void emitDebugLocValue(ByteStreamer &Streamer, const DebugLocEntry::Value &Value, |

