]> granicus.if.org Git - llvm/commit
Merging r228490:
authorHans Wennborg <hans@hanshq.net>
Sat, 7 Feb 2015 19:23:25 +0000 (19:23 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 7 Feb 2015 19:23:25 +0000 (19:23 +0000)
commit7c02755384ed624ea27d3cfd8c1fed579f71bd37
tree1521e35103dcee789a87ba477500e50abf148cf9
parent1ab5df3992790165bcc2bec5492612e166d0c65a
Merging r228490:
------------------------------------------------------------------------
r228490 | majnemer | 2015-02-07 00:26:40 -0800 (Sat, 07 Feb 2015) | 5 lines

MC: Emit COFF section flags in the "proper" order

COFF section flags are not idempotent:
  'rd' will make a read-write section because 'd' implies write
  'dr' will make a read-only section because 'r' disables write
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@228502 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
lib/MC/MCSectionCOFF.cpp
test/CodeGen/ARM/Windows/read-only-data.ll
test/CodeGen/ARM/Windows/structors.ll
test/CodeGen/X86/coff-comdat.ll
test/CodeGen/X86/dllexport-x86_64.ll
test/CodeGen/X86/dllexport.ll
test/CodeGen/X86/global-sections.ll
test/CodeGen/X86/win_cst_pool.ll
test/DebugInfo/COFF/asm.ll
test/DebugInfo/COFF/multifile.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/COFF/simple.ll
test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll
test/DebugInfo/X86/coff_debug_info_type.ll
test/MC/COFF/bss_section.ll
test/MC/COFF/const-gv-with-rel-init.ll
test/MC/COFF/global_ctors_dtors.ll
test/MC/COFF/initialised-data.ll
test/MC/COFF/section-passthru-flags.s
test/MC/COFF/weak-symbol.ll