summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/dllexport-x86_64.ll
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-23 21:29:34 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-23 21:29:34 +0000
commit49babc916aa0186ba8347d0216069a84cb67da31 (patch)
tree7e2ada28b32af3c8223f662ec4360e792d08136a /test/CodeGen/X86/dllexport-x86_64.ll
parent08e5ef25fb0be95aef82d3dd2d4b81aa1cd08aed (diff)
downloadllvm-49babc916aa0186ba8347d0216069a84cb67da31.tar.gz
llvm-49babc916aa0186ba8347d0216069a84cb67da31.tar.bz2
llvm-49babc916aa0186ba8347d0216069a84cb67da31.tar.xz
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
Diffstat (limited to 'test/CodeGen/X86/dllexport-x86_64.ll')
-rw-r--r--test/CodeGen/X86/dllexport-x86_64.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/dllexport-x86_64.ll b/test/CodeGen/X86/dllexport-x86_64.ll
index a38c2d8f8a..af0f85b00e 100644
--- a/test/CodeGen/X86/dllexport-x86_64.ll
+++ b/test/CodeGen/X86/dllexport-x86_64.ll
@@ -40,18 +40,18 @@ define weak_odr dllexport void @weak1() {
; CHECK: .globl Var1
@Var1 = dllexport global i32 1, align 4
-; CHECK: .rdata,"r"
+; CHECK: .rdata,"rd"
; CHECK: .globl Var2
@Var2 = dllexport unnamed_addr constant i32 1
; CHECK: .comm Var3
@Var3 = common dllexport global i32 0, align 4
-; CHECK: .section .data,"w",discard,WeakVar1
+; CHECK: .section .data,"wd",discard,WeakVar1
; CHECK: .globl WeakVar1
@WeakVar1 = weak_odr dllexport global i32 1, align 4
-; CHECK: .section .rdata,"r",discard,WeakVar2
+; CHECK: .section .rdata,"rd",discard,WeakVar2
; CHECK: .globl WeakVar2
@WeakVar2 = weak_odr dllexport unnamed_addr constant i32 1