projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Derive metadata hierarchy from Value instead of User.
[oota-llvm.git]
/
lib
/
Transforms
/
IPO
/
StripSymbols.cpp
diff --git
a/lib/Transforms/IPO/StripSymbols.cpp
b/lib/Transforms/IPO/StripSymbols.cpp
index 77d44b27e2082351408936a2684bfeb85e8b0cd3..57aaf43c65add176123a24091970ba362507bff1 100644
(file)
--- a/
lib/Transforms/IPO/StripSymbols.cpp
+++ b/
lib/Transforms/IPO/StripSymbols.cpp
@@
-250,8
+250,6
@@
static bool StripDebugInfo(Module &M) {
if (NMD)
NMD->eraseFromParent();
- // Remove dead metadata.
- M.getContext().RemoveDeadMetadata();
return true;
}