diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 03:51:36 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 03:51:36 +0000 |
| commit | acdee690c810a64610b1db689fc414bc16f63f98 (patch) | |
| tree | 9030178a2f5c261932d72babc1b581981c491f46 /llvm/lib/Transforms/IPO | |
| parent | d81be6d66431d2802a16656a4a3d40fd93e4b433 (diff) | |
| download | bcm5719-llvm-acdee690c810a64610b1db689fc414bc16f63f98.tar.gz bcm5719-llvm-acdee690c810a64610b1db689fc414bc16f63f98.zip | |
DebugInfo: Update signature of DICompileUnit::replace*()
Change `DICompileUnit::replaceSubprograms()` and
`DICompileUnit::replaceGlobalVariables()` to match the `MDCompileUnit`
equivalents that they're wrapping.
llvm-svn: 234852
Diffstat (limited to 'llvm/lib/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/StripSymbols.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/StripSymbols.cpp b/llvm/lib/Transforms/IPO/StripSymbols.cpp index 817f49fecd3..39d8e7619de 100644 --- a/llvm/lib/Transforms/IPO/StripSymbols.cpp +++ b/llvm/lib/Transforms/IPO/StripSymbols.cpp @@ -345,7 +345,7 @@ bool StripDeadDebugInfo::runOnModule(Module &M) { // subprogram list/global variable list with our new live subprogram/global // variable list. if (SubprogramChange) { - DIC.replaceSubprograms(DIArray(MDNode::get(C, LiveSubprograms))); + DIC.replaceSubprograms(MDTuple::get(C, LiveSubprograms)); Changed = true; } |

