MC: honour IMAGE_SCN_CNT_INITIALIZED_DATA
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 23 Apr 2014 21:29:34 +0000 (21:29 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 23 Apr 2014 21:29:34 +0000 (21:29 +0000)
commit49babc916aa0186ba8347d0216069a84cb67da31
tree7e2ada28b32af3c8223f662ec4360e792d08136a
parent08e5ef25fb0be95aef82d3dd2d4b81aa1cd08aed
MC: honour IMAGE_SCN_CNT_INITIALIZED_DATA

Emit the flag to indicate to the assembler that a section contains data if there
is pre-populated data present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207028 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/MC/MCSectionCOFF.cpp
test/CodeGen/Generic/initialised-data.ll [new file with mode: 0644]
test/CodeGen/X86/dllexport-x86_64.ll
test/CodeGen/X86/dllexport.ll
test/CodeGen/X86/global-sections.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/global_ctors_dtors.ll
test/MC/COFF/weak-symbol.ll