diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-17 23:20:10 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-17 23:20:10 +0000 |
commit | ed557b55eee84ef726e4b792dfacedf098fb63c7 (patch) | |
tree | 500e058ed754c8284c97e1f3e0f987db5686e051 /llvm/lib/CodeGen | |
parent | ea8df61d4d6d5680b9ed52080d8021ea5b33e88d (diff) | |
download | bcm5719-llvm-ed557b55eee84ef726e4b792dfacedf098fb63c7.tar.gz bcm5719-llvm-ed557b55eee84ef726e4b792dfacedf098fb63c7.zip |
DebugInfo: Remove DIDescriptor from the DebugInfo API
Stop using `DIDescriptor` and its subclasses in the `DebugInfoFinder`
API, as well as the rest of the API hanging around in `DebugInfo.h`.
llvm-svn: 235240
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 2 | ||||
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 4b0506f4c10..4c50b6207d9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -321,7 +321,7 @@ class DwarfDebug : public AsmPrinterHandler { DwarfAccelTable AccelNamespace; DwarfAccelTable AccelTypes; - DenseMap<const Function *, DISubprogram> FunctionDIs; + DenseMap<const Function *, MDSubprogram *> FunctionDIs; MCDwarfDwoLineTable *getDwoLineTable(const DwarfCompileUnit &); diff --git a/llvm/lib/CodeGen/LiveDebugVariables.h b/llvm/lib/CodeGen/LiveDebugVariables.h index fe296bc4cb5..88a34ddcc12 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.h +++ b/llvm/lib/CodeGen/LiveDebugVariables.h @@ -33,7 +33,8 @@ class VirtRegMap; class LiveDebugVariables : public MachineFunctionPass { void *pImpl; - DenseMap<const Function*, DISubprogram> FunctionDIs; + DenseMap<const Function *, MDSubprogram *> FunctionDIs; + public: static char ID; // Pass identification, replacement for typeid |