mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Do not print stranded metadata.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
923078c65d
commit
05a0e6a01c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user