mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
This reverts commit r77814. We were sticking global constants in the .data section instead of in the .rdata section when emitting for COFF. This fixes PR16831. llvm-svn: 187956
7 lines
192 B
LLVM
7 lines
192 B
LLVM
; RUN: llc -mtriple i386-pc-win32 < %s | FileCheck %s
|
|
|
|
%struct.foo = type { i32, i32 }
|
|
|
|
@"\01?thingy@@3Ufoo@@B" = constant %struct.foo zeroinitializer, align 4
|
|
; CHECK: .section .rdata
|