mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 22:30:33 +00:00
X86MCAsmInfoGNUCOFF: Set PointerSize as 8 for targeting x64. It caused DW_LNE_set_address was misemitted on x64.
FIXME: I haven't investigate whether CalleeSaveStackSlotSize should be 8. llvm-svn: 205772
This commit is contained in:
parent
0fdbe96fff
commit
99b861df4d
@ -157,8 +157,10 @@ X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(const Triple &Triple) {
|
||||
void X86MCAsmInfoGNUCOFF::anchor() { }
|
||||
|
||||
X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(const Triple &Triple) {
|
||||
if (Triple.getArch() == Triple::x86_64)
|
||||
if (Triple.getArch() == Triple::x86_64) {
|
||||
PrivateGlobalPrefix = ".L";
|
||||
PointerSize = 8;
|
||||
}
|
||||
|
||||
AssemblerDialect = AsmWriterFlavor;
|
||||
|
||||
|
@ -4,11 +4,6 @@
|
||||
; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
|
||||
; FIXME: Investigating.
|
||||
; XFAIL: *
|
||||
; RUN: llc -mtriple=x86_64-mingw32 -fast-isel=false -O0 -filetype=obj %s -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
|
||||
; CHECK: {{0x[0-9a-f]+}} 1 0 1 0 0 is_stmt
|
||||
; CHECK: {{0x[0-9a-f]+}} 2 0 1 0 0 is_stmt
|
||||
; CHECK: {{0x[0-9a-f]+}} 4 0 1 0 0 is_stmt
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: shell
|
||||
// XFAIL: mingw
|
||||
// RUN: llvm-mc -triple=x86_64-linux-unknown -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
|
||||
// RUN: llvm-dwarfdump -debug-dump=info %t.o | FileCheck %s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user