mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
7f077ea70a
Without this, assembling clang's disassembly would produce an object file with the IMAGE_SCN_CNT_INITIALIZED_DATA section characteristic rather than the uninitialized one. link.exe would warn when merging comdats with different flags. llvm-svn: 197529
10 lines
302 B
LLVM
10 lines
302 B
LLVM
; RUN: llc -mtriple i386-pc-win32 < %s | FileCheck %s
|
|
|
|
%struct.foo = type { i32, i32 }
|
|
|
|
@"\01?thingy@@3Ufoo@@B" = global %struct.foo zeroinitializer, align 4
|
|
; CHECK: .bss
|
|
|
|
@thingy_linkonce = linkonce_odr global %struct.foo zeroinitializer, align 4
|
|
; CHECK: .section .bss,"bw",discard,_thingy_linkonce
|