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/Transforms/IPO | |
| 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/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp index 56975eabaee..917a1632f6a 100644 --- a/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp +++ b/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp @@ -89,7 +89,7 @@ namespace { bool doInitialization(CallGraph &CG) override; /// The maximum number of elements to expand, or 0 for unlimited. unsigned maxElements; - DenseMap<const Function *, DISubprogram> FunctionDIs; + DenseMap<const Function *, MDSubprogram *> FunctionDIs; }; } diff --git a/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp b/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp index 3be23d55f5a..e347070a8f9 100644 --- a/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp +++ b/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp @@ -127,7 +127,7 @@ namespace { // As the code generation for module is finished (and DIBuilder is // finalized) we assume that subprogram descriptors won't be changed, and // they are stored in map for short duration anyway. - DenseMap<const Function *, DISubprogram> FunctionDIs; + DenseMap<const Function *, MDSubprogram *> FunctionDIs; protected: // DAH uses this to specify a different ID. |

