summaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-04-01 16:17:41 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-04-01 16:17:41 +0000
commit6b10f3a87de8d957bf71714928e6916eb7a2582d (patch)
tree18452b3cc541d1672629b291f66ce163559c2d89 /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent6817d33dda1d68393057fdaf3960af510c42d74a (diff)
downloadllvm-6b10f3a87de8d957bf71714928e6916eb7a2582d.tar.gz
llvm-6b10f3a87de8d957bf71714928e6916eb7a2582d.tar.bz2
llvm-6b10f3a87de8d957bf71714928e6916eb7a2582d.tar.xz
DebugInfo: Factor out common functionality for rendering debug_loc and debug_loc.dwo location list entries
In preparation for refactoring this function into two, one for debug_loc, one for debug_loc.dwo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205324 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 064c0fa762..c8aa276b0e 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -772,6 +772,9 @@ public:
/// handle an entry that's going to be emitted into the debug loc section.
void emitDebugLocEntry(ByteStreamer &Streamer, const DebugLocEntry &Entry);
+ /// Emit the location for a debug loc entry, including the size header.
+ void emitDebugLocEntryLocation(const DebugLocEntry &Entry);
+
/// Find the MDNode for the given reference.
template <typename T> T resolve(DIRef<T> Ref) const {
return Ref.resolve(TypeIdentifierMap);