mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove the last of the special case code for emitting attributes.
This works by moving the existing code into the DIEValue hierarchy and using the DwarfDebug pointer off of the AsmPrinter to access any global information we need. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -759,6 +759,10 @@ public:
|
||||
return Ref.resolve(TypeIdentifierMap);
|
||||
}
|
||||
|
||||
/// Find the DwarfCompileUnit for the given CU Die.
|
||||
DwarfCompileUnit *lookupUnit(const DIE *CU) const {
|
||||
return CUDieMap.lookup(CU);
|
||||
}
|
||||
/// isSubprogramContext - Return true if Context is either a subprogram
|
||||
/// or another context nested inside a subprogram.
|
||||
bool isSubprogramContext(const MDNode *Context);
|
||||
|
Reference in New Issue
Block a user