projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923078c
)
Do not print stranded metadata.
author
Devang Patel
<dpatel@apple.com>
Wed, 1 Jul 2009 19:39:39 +0000
(19:39 +0000)
committer
Devang Patel
<dpatel@apple.com>
Wed, 1 Jul 2009 19:39:39 +0000
(19:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74632
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 361096f94dadfc44851b3f2f5de92009e3795583..6ca08bbc7a1c0660e20cbff73d0b301011ec86e1 100644
(file)
--- a/
lib/VMCore/AsmWriter.cpp
+++ b/
lib/VMCore/AsmWriter.cpp
@@
-1313,7
+1313,8
@@
void AssemblyWriter::printMDNode(const MDNode *Node,
// If this node is already printed then just refer it using its Metadata
// id number.
if (MI != MDNodes.end()) {
- Out << "metadata !" << MI->second;
+ if (!StandAlone)
+ Out << "metadata !" << MI->second;
return;
}