aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-09 22:42:28 +0000
committerDevang Patel <dpatel@apple.com>2009-10-09 22:42:28 +0000
commit40c80212c1c0be155e7a561f0a18a94856d7eb2f (patch)
treeaddcad4adb847b585dd7fbaf70c16e9bdeb9300d /lib/CodeGen/AsmPrinter/DwarfDebug.h
parent43304d30b79b35253613e21f34375a5493f62550 (diff)
downloadexternal_llvm-40c80212c1c0be155e7a561f0a18a94856d7eb2f.zip
external_llvm-40c80212c1c0be155e7a561f0a18a94856d7eb2f.tar.gz
external_llvm-40c80212c1c0be155e7a561f0a18a94856d7eb2f.tar.bz2
Extract scope information from the variable itself, instead of relying on alloca or llvm.dbg.declare location.
While recording beginning of a function, use scope info from the first location entry instead of just relying on first location entry itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.h b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 7e2f6be..bd377c5 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -556,7 +556,7 @@ public:
bool ExtractScopeInformation(MachineFunction *MF);
/// CollectVariableInfo - Populate DbgScope entries with variables' info.
- bool CollectVariableInfo();
+ void CollectVariableInfo();
/// SetDbgScopeBeginLabels - Update DbgScope begin labels for the scopes that
/// start with this machine instruction.