forked from OSchip/llvm-project
DebugInfo: Add some missing explicit target triples.
Based on D91043 by Luís Marques. Thanks Luís! Differential Revision: https://reviews.llvm.org/D91043
This commit is contained in:
parent
09ba2063dc
commit
cbd7541639
|
@ -1,4 +1,4 @@
|
|||
; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64 -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; Generated at -O2 from:
|
||||
; void f();
|
||||
; __attribute__((always_inline)) void g() {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: %llc_dwarf -dwarf-version=4 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=4 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=NOCONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
; Test lldb default: OP_convert is unsupported when using MachO
|
||||
|
@ -8,13 +8,13 @@
|
|||
; RUN: | FileCheck %s --check-prefix=NOCONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
; Test gdb default: OP_convert is only disabled in split DWARF
|
||||
; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb | llvm-dwarfdump - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=CONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb -split-dwarf-file=baz.dwo | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=NOCONV --check-prefix=SPLIT "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
; Test the ability to override the platform default in either direction
|
||||
; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb -dwarf-op-convert=Disable | llvm-dwarfdump - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb -dwarf-op-convert=Disable | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=NOCONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=lldb -dwarf-op-convert=Enable | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=CONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
@ -23,7 +23,7 @@
|
|||
; RUN: llc -mtriple=x86_64-pc-linux-gnu -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=lldb -dwarf-op-convert=Enable -split-dwarf-file=baz.dwo | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=CONV --check-prefix=SPLITCONV --check-prefix=SPLIT "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb | llvm-dwarfdump -v -debug-info - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=5 -filetype=obj -O0 < %s -debugger-tune=gdb | llvm-dwarfdump -v -debug-info - \
|
||||
; RUN: | FileCheck %s --check-prefix=VERBOSE --check-prefix=CONV "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=5 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=DW5 "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
; RUN: %llc_dwarf -dwarf-version=4 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: llc -mtriple=x86_64 -dwarf-version=4 -filetype=obj -O0 < %s | llvm-dwarfdump - \
|
||||
; RUN: | FileCheck %s --check-prefix=DW4 "--implicit-check-not={{DW_TAG|NULL}}"
|
||||
|
||||
; DW5: .debug_info contents:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64 -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
|
||||
|
||||
; CHECK: DW_TAG_compile_unit
|
||||
; CHECK: [[CU0BT0:0x[0-9a-f]+]]: DW_TAG_base_type
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
; RUN: %llc_dwarf -filetype=obj < %s \
|
||||
; RUN: llc -mtriple=x86_64 -filetype=obj < %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
|
||||
; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo -filetype=obj -dwarf-op-convert=Enable < %s \
|
||||
; RUN: llc -mtriple=x86_64 -split-dwarf-file=foo.dwo -filetype=obj -dwarf-op-convert=Enable < %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck --check-prefix=SPLIT --check-prefix=CHECK %s
|
||||
; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo -filetype=asm -dwarf-op-convert=Enable < %s \
|
||||
; RUN: llc -mtriple=x86_64 -split-dwarf-file=foo.dwo -filetype=asm -dwarf-op-convert=Enable < %s \
|
||||
; RUN: | FileCheck --check-prefix=ASM %s
|
||||
|
||||
; A bit of a brittle test - this is testing the specific DWO_id. The
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: %llc_dwarf -march=x86 -asm-verbose < %s | grep DW_TAG_formal_parameter
|
||||
; RUN: llc -mtriple=x86_64 -asm-verbose < %s | grep DW_TAG_formal_parameter
|
||||
|
||||
|
||||
%struct.Pt = type { double, double }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64 -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
; and fail with "failed to compute relocation: IMAGE_REL_AMD64_ADDR32".
|
||||
; UNSUPPORTED: cygwin,windows-gnu,windows-msvc
|
||||
|
||||
; RUN: %llc_dwarf -mtriple=x86_64-- < %s -o - | FileCheck %s -check-prefix=ASM
|
||||
; RUN: %llc_dwarf -debugger-tune=lldb -mtriple=x86_64-- < %s -filetype=obj -o %t.o
|
||||
; RUN: llc -mtriple=x86_64 < %s -o - | FileCheck %s -check-prefix=ASM
|
||||
; RUN: llc -mtriple=x86_64 -debugger-tune=lldb < %s -filetype=obj -o %t.o
|
||||
; RUN: llvm-dwarfdump %t.o -o - | FileCheck %s -check-prefix=OBJ -implicit-check-not=DW_TAG_call -implicit-check-not=DW_AT_call
|
||||
; RUN: llvm-dwarfdump -verify %t.o 2>&1 | FileCheck %s -check-prefix=VERIFY
|
||||
; RUN: llvm-dwarfdump -statistics %t.o | FileCheck %s -check-prefix=STATS
|
||||
|
|
Loading…
Reference in New Issue