aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-12-11 16:43:06 +0000
committerHafiz Abid Qadeer <abidh@codesourcery.com>2020-12-11 16:45:45 +0000
commit1deff4009e0ae661b03682901bf6932297ce7ea1 (patch)
tree6646201ce79388126d9a604a204b0a19a57758cb /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent4d956af594c5adc9d566d1846d86dd89c70c9c0b (diff)
downloadllvm-1deff4009e0ae661b03682901bf6932297ce7ea1.zip
llvm-1deff4009e0ae661b03682901bf6932297ce7ea1.tar.gz
llvm-1deff4009e0ae661b03682901bf6932297ce7ea1.tar.bz2
[MC][ELF] Accept abbreviated form with sh_flags and sh_entsize
D73999 / commit 75af9da755721123e62b45cd0bc0c5e688a9722a added for LLVM 11 a check that sh_flags and sh_entsize (and sh_type) changes are an error, in line with GNU assembler. However, GNU assembler accepts and GCC generates an abbreviated form: while the first .section contains the flags and entsize, subsequent sections simply contain the name without repeating entsize or flags. Do likewise for better compatibility. See https://bugs.llvm.org/show_bug.cgi?id=48201 Reviewed By: jhenderson, MaskRay Differential Revision: https://reviews.llvm.org/D92052
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions