mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
DebugInfo: Remove llc_dwarf usage from tests already relying on a target triple in the IR
This commit is contained in:
parent
a3df98638d
commit
5472c8f7c8
@ -1,6 +1,6 @@
|
||||
source_filename = "test/DebugInfo/X86/DIModuleContext.ll"
|
||||
target triple = "x86_64-apple-macosx"
|
||||
; RUN: %llc_dwarf %s -o - -filetype=obj \
|
||||
; RUN: llc %s -o - -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; CHECK: DW_TAG_module
|
||||
; CHECK-NOT: NULL
|
||||
|
@ -1,5 +1,5 @@
|
||||
; This test checks attributes of a Fortran module.
|
||||
; RUN: %llc_dwarf %s -filetype=obj -o - | \
|
||||
; RUN: llc %s -filetype=obj -o - | \
|
||||
; RUN: llvm-dwarfdump - | FileCheck %s
|
||||
|
||||
; CHECK: DW_TAG_module
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang++ -c -g -std=c++11 -S -emit-llvm from the following C++11 source
|
||||
; struct S {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; typedef struct __attribute__((aligned (128))) {
|
||||
; char c;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; A hand-written testcase to check 64-bit constant handling in location lists.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llc -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; Check that any type can have a vtable holder.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; CHECK: .debug_info contents:
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
source_filename = "test/DebugInfo/X86/debug-info-packed-struct.ll"
|
||||
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-darwin"
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
|
||||
; RUN: llc -O0 -filetype=obj -o %t.o %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
|
||||
; // ---------------------------------------------------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; C++ source to regenerate:
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -O0 -split-dwarf-file=foo.dwo -filetype=obj < %s | llvm-dwarfdump --debug-info --debug-macro - | FileCheck %s
|
||||
; RUN: llc -O0 -split-dwarf-file=foo.dwo -filetype=obj < %s | llvm-dwarfdump --debug-info --debug-macro - | FileCheck %s
|
||||
|
||||
; CHECK:.debug_info.dwo contents:
|
||||
; CHECK: DW_TAG_compile_unit
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This test checks emission of .debug_macro.dwo section when
|
||||
; -gdwarf-5 -gsplit-dwarf -fdebug-macro is specified.
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=5 -O0 -filetype=obj \
|
||||
; RUN: llc -dwarf-version=5 -O0 -filetype=obj \
|
||||
; RUN: -split-dwarf-file=foo.dwo < %s | llvm-dwarfdump -debug-macro -debug-info -debug-line -v - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
|
@ -3,7 +3,7 @@
|
||||
; -gdwarf-4 -gsplit-dwarf -fdebug-macro is specified, regardless of the GNU
|
||||
; extension being requested.
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=4 -O0 -filetype=obj -use-gnu-debug-macro \
|
||||
; RUN: llc -dwarf-version=4 -O0 -filetype=obj -use-gnu-debug-macro \
|
||||
; RUN: -split-dwarf-file=foo.dwo < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; CHECK: .debug_info.dwo contents:
|
||||
|
@ -1,6 +1,6 @@
|
||||
; This test checks emission of the GNU extension for the .debug_macro section.
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=4 -O0 -use-gnu-debug-macro -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -dwarf-version=4 -O0 -use-gnu-debug-macro -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
; CHECK: DW_AT_GNU_macros [DW_FORM_sec_offset] (0x00000000)
|
||||
|
@ -1,7 +1,7 @@
|
||||
; This test checks emission of .debug_macro section when
|
||||
; -gdwarf-5 -fdebug-macro is specified.
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=5 -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -dwarf-version=5 -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
; CHECK: DW_AT_macros [DW_FORM_sec_offset] (0x00000000)
|
||||
|
@ -5,7 +5,7 @@
|
||||
;; !DIStringType(name: "character(*)", stringLength: !{{[0-9]+}},
|
||||
;; stringLengthExpression: !DIExpression(), size: 32)
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump - | FileCheck %s
|
||||
; CHECK: DW_TAG_string_type
|
||||
; CHECK: DW_AT_name ("character(*)!2")
|
||||
; CHECK-NEXT: DW_AT_string_length
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-objdump -h - | FileCheck %s
|
||||
; RUN: llc -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-objdump -h - | FileCheck %s
|
||||
|
||||
; Created from:
|
||||
; void f1() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf %s -o - -filetype=obj | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc %s -o - -filetype=obj | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; Generated from:
|
||||
; namespace normal { inline namespace inlined { int i; } }
|
||||
; Check that an inline namespace is emitted with DW_AT_export_symbols
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang -S -c -std=c++11 --emit-llvm -g from the following C11 source:
|
||||
; _Noreturn void f() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang++ -S -c -std=c++11 --emit-llvm -g from the following C++11 source:
|
||||
;class foo {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Generated by clang++ -S -c --emit-llvm -g from the following ObjC source:
|
||||
; #include <stdlib.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; Generated at -O2 from:
|
||||
; bool c();
|
||||
; void f();
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: %llc_dwarf -stop-after=livedebugvalues -o - %s \
|
||||
; RUN: llc -stop-after=livedebugvalues -o - %s \
|
||||
; RUN: | FileCheck %s --check-prefix=SANITY
|
||||
; RUN: %llc_dwarf -march=x86-64 -o - %s -filetype=obj \
|
||||
; RUN: llc -march=x86-64 -o - %s -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump -v -all - | FileCheck %s
|
||||
;
|
||||
; CHECK: .debug_info contents:
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: rm -rf %t && mkdir -p %t
|
||||
; RUN: %llc_dwarf -split-dwarf-file=foo.dwo %s -filetype=obj -o %t/a.o
|
||||
; RUN: %llc_dwarf -split-dwarf-file=bar.dwo %s -filetype=obj -o %t/b.o
|
||||
; RUN: llc -split-dwarf-file=foo.dwo %s -filetype=obj -o %t/a.o
|
||||
; RUN: llc -split-dwarf-file=bar.dwo %s -filetype=obj -o %t/b.o
|
||||
; RUN: llvm-dwarfdump -debug-info %t/a.o %t/b.o | FileCheck %s
|
||||
|
||||
; CHECK: .debug_info contents:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; Created from:
|
||||
; a.cpp:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -split-dwarf-file=foo.dwo %s -filetype=obj -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
|
||||
; DW_AT_LLVM_sysroot goes into the .dwo, not in the skeleton.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf %s -filetype=obj -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; Generated from:
|
||||
;
|
||||
; struct A {
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
|
||||
|
||||
target datalayout = "e-p:64:64"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
Loading…
Reference in New Issue
Block a user