aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2017-12-28 07:02:13 +0000
committerBob Haarman <llvm@inglorion.net>2017-12-28 07:02:13 +0000
commite90ac016e73e7df3deca4c300fdd11a5e0bbe6f0 (patch)
tree83a581bb94787004c19940cde75ab42d20de3f07 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent364cbfe9641a948244bc4c903eff6c8fd5127dab (diff)
downloadllvm-e90ac016e73e7df3deca4c300fdd11a5e0bbe6f0.zip
llvm-e90ac016e73e7df3deca4c300fdd11a5e0bbe6f0.tar.gz
llvm-e90ac016e73e7df3deca4c300fdd11a5e0bbe6f0.tar.bz2
[COFF] support /ignore:4217
Summary: lld-link accepts link.exe's /ignore option, but used to ignore it. This can lead to semantic differences when warnings are treated as fatal errors. One such case is when we resolve an __imp_ symbol to a local definition. We emit a warning in that case, which /wx turns into a fatal. This change makes lld-link accept /ignore:4217 to suppress that warning, so that code that links with link.exe /wx /ignore:4217 links with lld-link, too. Fixes PR35762. Reviewers: rnk, ruiu Reviewed By: ruiu Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D41606 llvm-svn: 321512
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions