aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-02-25 11:02:24 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-02-25 11:02:24 +0000
commitfd99780c0941c7576bb271d7e58e6553afe9db00 (patch)
tree1b2ebb3d6b68c2e5a47434168f002e7e1fae4791 /clang/lib/Frontend/CompilerInvocation.cpp
parent777e1cfdc32bcf60fc8cce545f7330a5799fbc67 (diff)
downloadllvm-fd99780c0941c7576bb271d7e58e6553afe9db00.zip
llvm-fd99780c0941c7576bb271d7e58e6553afe9db00.tar.gz
llvm-fd99780c0941c7576bb271d7e58e6553afe9db00.tar.bz2
[yaml2obj]Re-allow dynamic sections to have raw content
Recently, support was added to yaml2obj to allow dynamic sections to have a list of entries, to make it easier to write tests with dynamic sections. However, this change also removed the ability to provide custom contents to the dynamic section, making it hard to test malformed contents (e.g. because the section is not a valid size to contain an array of entries). This change reinstates this. An error is emitted if raw content and dynamic entries are both specified. Reviewed by: grimar, ruiu Differential Review: https://reviews.llvm.org/D58543 llvm-svn: 354770
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions