projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only run the updateSSA loop when we have actually seen multiple values.
[oota-llvm.git]
/
lib
/
CodeGen
/
AsmPrinter
/
DwarfDebug.h
diff --git
a/lib/CodeGen/AsmPrinter/DwarfDebug.h
b/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 7df0510fbfba581b5bba0b2c7d533b2529797ac7..2863ea380603afc016afa4860047a1b78c60faaf 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfDebug.h
@@
-139,10
+139,13
@@
class DwarfDebug {
///
UniqueVector<const MCSection*> SectionMap;
///
UniqueVector<const MCSection*> SectionMap;
- // CurrentFnDbgScope - Top level scope for the current function.
- //
+ //
/
CurrentFnDbgScope - Top level scope for the current function.
+ //
/
DbgScope *CurrentFnDbgScope;
DbgScope *CurrentFnDbgScope;
+ /// CurrentFnArguments - List of Arguments (DbgValues) for current function.
+ SmallVector<DbgVariable *, 8> CurrentFnArguments;
+
/// DbgScopeMap - Tracks the scopes in the current function. Owns the
/// contained DbgScope*s.
///
/// DbgScopeMap - Tracks the scopes in the current function. Owns the
/// contained DbgScope*s.
///
@@
-546,6
+549,11
@@
private:
/// and collect DbgScopes. Return true, if atleast one scope was found.
bool extractScopeInformation();
/// and collect DbgScopes. Return true, if atleast one scope was found.
bool extractScopeInformation();
+ /// addCurrentFnArgument - If Var is an current function argument that add
+ /// it in CurrentFnArguments list.
+ bool addCurrentFnArgument(const MachineFunction *MF,
+ DbgVariable *Var, DbgScope *Scope);
+
/// collectVariableInfo - Populate DbgScope entries with variables' info.
void collectVariableInfo(const MachineFunction *,
SmallPtrSet<const MDNode *, 16> &ProcessedVars);
/// collectVariableInfo - Populate DbgScope entries with variables' info.
void collectVariableInfo(const MachineFunction *,
SmallPtrSet<const MDNode *, 16> &ProcessedVars);