aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-11-20 19:37:07 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-11-20 19:37:07 +0000
commit31275d4472830967c406086b0f7ddf5ae08595f6 (patch)
treefd4bc580cd348653bf0d46bfda3e842d7be282d0 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent25219377d7d27dd6ca9964fe67688f5ee1960575 (diff)
downloadllvm-31275d4472830967c406086b0f7ddf5ae08595f6.zip
llvm-31275d4472830967c406086b0f7ddf5ae08595f6.tar.gz
llvm-31275d4472830967c406086b0f7ddf5ae08595f6.tar.bz2
COFF: Correctly handle relocations against early discarded sections.
Don't crash if we encounter a reference to an early discarded section (such as .drectve). Instead, handle them the same way as sections discarded by comdat merging, i.e. either print an error message or (for debug sections) silently ignore the relocation. Differential Revision: https://reviews.llvm.org/D40235 llvm-svn: 318689
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions