Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Linker: Don't use MDNode::replaceOperandWith() | Duncan P. N. Exon Smith | 2015-01-07 | 1 | -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 |