diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-07 21:32:27 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-07 21:32:27 +0000 |
| commit | df55d8ba83d8d69cd28549a58c971eba0f8025a0 (patch) | |
| tree | a8c814b9eab919f9fc1569dc63ca25506314cce5 /llvm/lib/CodeGen/StackProtector.cpp | |
| parent | 37c93a9323f041f0c2eaf988df5eb062186a6d01 (diff) | |
| download | llvm-df55d8ba83d8d69cd28549a58c971eba0f8025a0.zip llvm-df55d8ba83d8d69cd28549a58c971eba0f8025a0.tar.gz llvm-df55d8ba83d8d69cd28549a58c971eba0f8025a0.tar.bz2 | |
Linker: Don't use MDNode::replaceOperandWith()
`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
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions
