OSDN Git Service

Add a warning if someone attempts to add extra section flags to sections
authorEric Christopher <echristo@gmail.com>
Mon, 25 Jun 2018 23:53:54 +0000 (23:53 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 25 Jun 2018 23:53:54 +0000 (23:53 +0000)
commit39add80ac5626817e840dfa60cd184277004da86
tree099e63668db996332cdeb3c4eb9c0a2cfd84414e
parent5e785b9abdacd0f0e42e135e90a52a65418425aa
Add a warning if someone attempts to add extra section flags to sections
with well defined semantics like .rodata.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335558 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/ELFAsmParser.cpp
test/MC/ELF/extra-section-flags.s [new file with mode: 0644]