mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
Initialize BSSSection explicitly in InitMachOMCObjectFileInfo() to appease msvc.
This can revert r191087. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ed7fd711a1
commit
023d90edb0
@ -39,6 +39,9 @@ void MCObjectFileInfo::InitMachOMCObjectFileInfo(Triple T) {
|
||||
= Ctx->getMachOSection("__DATA", "__data", 0,
|
||||
SectionKind::getDataRel());
|
||||
|
||||
// BSSSection might not be expected initialized on msvc.
|
||||
BSSSection = 0;
|
||||
|
||||
TLSDataSection // .tdata
|
||||
= Ctx->getMachOSection("__DATA", "__thread_data",
|
||||
MCSectionMachO::S_THREAD_LOCAL_REGULAR,
|
||||
|
@ -6,9 +6,6 @@
|
||||
; instruction which must be updated during
|
||||
; ConnectedVNInfoEqClasses::Distribute().
|
||||
|
||||
; FIXME: Investigating.
|
||||
; XFAIL: win32
|
||||
|
||||
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"
|
||||
target triple = "thumbv7-apple-ios3.0.0"
|
||||
|
||||
|
@ -3,9 +3,6 @@
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.7.2"
|
||||
|
||||
; FIXME: Investigating.
|
||||
; XFAIL: win32
|
||||
|
||||
@s = common global [4294967296 x i8] zeroinitializer, align 16
|
||||
;CHECK: .long 4294967295
|
||||
|
||||
|
@ -1,9 +1,6 @@
|
||||
; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s --check-prefix=LINUX
|
||||
; RUN: llc -mtriple=x86_64-darwin < %s | FileCheck %s --check-prefix=DARWIN
|
||||
|
||||
; FIXME: Investigating.
|
||||
; XFAIL: win32
|
||||
|
||||
@yyyy = common global i32 0, align 4
|
||||
|
||||
!llvm.dbg.cu = !{!0}
|
||||
|
Loading…
x
Reference in New Issue
Block a user