projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DebugInfo: Gut DICompileUnit and DIFile
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
CloneFunction.cpp
diff --git
a/lib/Transforms/Utils/CloneFunction.cpp
b/lib/Transforms/Utils/CloneFunction.cpp
index f5ca7ac9efd47e47e6eda41ebbfb7fd41b34fad4..f200b588194e33ea843270bc41cd96138e4698ee 100644
(file)
--- a/
lib/Transforms/Utils/CloneFunction.cpp
+++ b/
lib/Transforms/Utils/CloneFunction.cpp
@@
-171,7
+171,7
@@
static void AddOperand(DICompileUnit CU, MDSubprogramArray SPs, Metadata *NewSP)
for (auto *SP : SPs)
NewSPs.push_back(SP);
NewSPs.push_back(NewSP);
for (auto *SP : SPs)
NewSPs.push_back(SP);
NewSPs.push_back(NewSP);
- CU
.
replaceSubprograms(MDTuple::get(CU->getContext(), NewSPs));
+ CU
->
replaceSubprograms(MDTuple::get(CU->getContext(), NewSPs));
}
// Clone the module-level debug info associated with OldFunc. The cloned data
}
// Clone the module-level debug info associated with OldFunc. The cloned data