summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/Inputs/module-flags-dont-change-others.ll
Commit message (Collapse)AuthorAgeFilesLines
* Linker: Don't use MDNode::replaceOperandWith()Duncan P. N. Exon Smith2015-01-071-0/+8
`MDNode::replaceOperandWith()` changes all instances of metadata. Stop using it when linking module flags, since (due to uniquing) the flag values could be used by other metadata. Instead, use new API `NamedMDNode::setOperand()` to update the reference directly. llvm-svn: 225397
OpenPOWER on IntegriCloud