mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
639c882cbe
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 llvm-svn: 228490
11 lines
340 B
LLVM
11 lines
340 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 = comdat any
|
|
@thingy_linkonce = linkonce_odr global %struct.foo zeroinitializer, comdat, align 4
|
|
; CHECK: .section .bss,"bw",discard,_thingy_linkonce
|