summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-04-22 20:56:35 +0000
committerDevang Patel <dpatel@apple.com>2010-04-22 20:56:35 +0000
commitc04d54527e1d7e8b50cefcde7563bcbc7425e978 (patch)
treef9544a1e20696a9c18d977adf0391e131598313c /lib
parentc105a2b5b7d8969e78bd4b203e980dced8a1c689 (diff)
downloadllvm-c04d54527e1d7e8b50cefcde7563bcbc7425e978.tar.gz
llvm-c04d54527e1d7e8b50cefcde7563bcbc7425e978.tar.bz2
llvm-c04d54527e1d7e8b50cefcde7563bcbc7425e978.tar.xz
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index b3f9745808..16d4137053 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -197,6 +197,11 @@ class DwarfDebug {
DenseMap<const MachineInstr *, MCSymbol *> LabelsAfterInsn;
SmallVector<const MCSymbol *, 8> DebugRangeSymbols;
+
+ /// weakDebugRangeSymbols - In cases where function bodies is not emitted
+ /// into .text section, use function begin marker as anchor for debug range
+ /// offsets. This map keeps track of such symbols and corresponding
+ /// function begin marker symbols.
DenseMap<const MCSymbol *, const MCSymbol *> WeakDebugRangeSymbols;
/// Previous instruction's location information. This is used to determine