mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 15:10:30 +00:00
llvm-dwarfdump: Make -brief the default and add a -verbose option instead.
Differential Revision: https://reviews.llvm.org/D37717 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312972 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8fd05041c0
commit
3776c52b4d
@ -1,4 +1,4 @@
|
||||
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
|
||||
|
||||
source_filename = "test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll"
|
||||
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"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
|
||||
|
||||
; CHECK: DW_TAG_variable
|
||||
; CHECK-NOT: DW_TAG
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; debug_info content
|
||||
; CHECK: DW_AT_name {{.*}} "foobar_func_block_invoke_0"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=i686-- -O0 < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -mtriple=i686-- -O0 < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj -regalloc=basic | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj -regalloc=basic | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
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"
|
||||
target triple = "x86_64-apple-darwin10.0.0"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -o - %s | FileCheck %s
|
||||
; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF
|
||||
; This test checks that parameters on the stack pointer are correctly
|
||||
; referenced by debug info.
|
||||
target triple = "x86_64--"
|
||||
|
@ -1,18 +1,18 @@
|
||||
; RUN: llc -dwarf-version=4 -generate-type-units \
|
||||
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SINGLE-4
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-4
|
||||
|
||||
; RUN: llc -split-dwarf-file=foo.dwo -dwarf-version=4 -generate-type-units \
|
||||
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SPLIT-4
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPLIT-4
|
||||
|
||||
; RUN: llc -dwarf-version=5 -generate-type-units \
|
||||
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SINGLE-5
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-5
|
||||
|
||||
; RUN: llc -split-dwarf-file=foo.dwo -dwarf-version=5 -generate-type-units \
|
||||
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SPLIT-5
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPLIT-5
|
||||
|
||||
; Looking for DWARF headers to be generated correctly.
|
||||
; There are 7 variants: v4 CU, v4 TU, v5 (normal/skeleton/split) CU,
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
;
|
||||
; Derived from (clang -O0 -g -fsanitize=address -fobjc-arc)
|
||||
; @protocol NSObject
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple aarch64_be-gnu-linux -O0 -filetype=obj -o %t_be.o %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t_be.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t_be.o | FileCheck %s
|
||||
|
||||
; Produced at -O0 from:
|
||||
; struct bitfield {
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llc -mtriple=aarch64-non-linux-gnu -dwarf-version=4 < %s -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-4 %s
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-4 %s
|
||||
; RUN: llc -mtriple=aarch64-non-linux-gnu -dwarf-version=3 < %s -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-3 %s
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-3 %s
|
||||
|
||||
; We're mostly checking that relocations are applied correctly
|
||||
; here. Currently R_AARCH64_ABS32 is used for references to debug data
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -disable-fp-elim -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -disable-fp-elim -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; Test that a variable with multiple entries in the MMI table makes it into the
|
||||
; debug info.
|
||||
;
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=aarch64-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64_be-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -mtriple=aarch64_be-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; check line table length is correctly calculated for both big and little endian
|
||||
CHECK-LABEL: .debug_line contents:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump - 2>&1 | FileCheck %s
|
||||
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v - 2>&1 | FileCheck %s
|
||||
|
||||
; LLVM IR generated with the following command and OpenCL source:
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; LLVM IR generated with the following command and OpenCL source:
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; LLVM IR generated with the following command and OpenCL source:
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -filetype=obj -o - < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
;
|
||||
; Checks that we're creating two ranges, one that terminates immediately
|
||||
; and one that spans the rest of the function. This isn't necessarily the
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -O0 -filetype=obj -mtriple=armeb-none-freebsd -debugger-tune=lldb %s -o - \
|
||||
; RUN: | llvm-dwarfdump --debug-info - | FileCheck %s
|
||||
; RUN: | llvm-dwarfdump -v --debug-info - | FileCheck %s
|
||||
; Generated from:
|
||||
; struct S {
|
||||
; int j:5;
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
; REQUIRES: object-emission
|
||||
;
|
||||
; Generated from:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
; This tests a fragment that partially covers subregister compositions.
|
||||
;
|
||||
; Our fragment is 96 bits long and lies in a 128-bit register, which
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
; REQUIRES: object-emission
|
||||
target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
|
||||
target triple = "thumbv7-apple-unknown-macho"
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; Radar 7833483
|
||||
; Do not emit a separate out-of-line definition DIE for the function-local 'foo'
|
||||
; function (member of the function local 'A' type)
|
||||
|
@ -3,7 +3,7 @@
|
||||
; For some reason, the output when targetting sparc is not quite as expected.
|
||||
; XFAIL: sparc
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; IR generated from clang -O0 with:
|
||||
; struct C {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Ensure that pointer constants are emitted as unsigned data. Alternatively,
|
||||
; these could be signless data (dataN).
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck -implicit-check-not=DW_TAG %s
|
||||
; RUN: %llc_dwarf -dwarf-accel-tables=Enable -dwarf-linkage-names=All -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck --check-prefix=CHECK-ACCEL --check-prefix=CHECK %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck -implicit-check-not=DW_TAG %s
|
||||
; RUN: %llc_dwarf -dwarf-accel-tables=Enable -dwarf-linkage-names=All -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck --check-prefix=CHECK-ACCEL --check-prefix=CHECK %s
|
||||
|
||||
; Build from source:
|
||||
; $ clang++ a.cpp b.cpp -g -c -emit-llvm
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Testing that two distinct (distinct by writing them in separate files, while
|
||||
; still fulfilling C++'s ODR by having identical token sequences) functions,
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Built from source:
|
||||
; $ clang++ a.cpp b.cpp -g -c -emit-llvm
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; Check that we emit ranges for this which has a non-traditional section and a normal section.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Built from the following source with clang -O1
|
||||
; struct S { int i; };
|
||||
|
@ -14,7 +14,7 @@
|
||||
; auto pr = &A::r;
|
||||
; }
|
||||
;
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; CHECK: DW_TAG_subroutine_type DW_CHILDREN_yes
|
||||
; CHECK-NEXT: DW_AT_reference DW_FORM_flag_present
|
||||
; CHECK: DW_TAG_subroutine_type DW_CHILDREN_yes
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
;
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Make sure we can handle enums with the same identifier but in enum types of
|
||||
; different compile units.
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; IR generated from the following code compiled with clang -g:
|
||||
; enum e1 { I, J = 0xffffffffU, K = 0xf000000000000000ULL } a;
|
||||
|
@ -1,5 +1,5 @@
|
||||
; REQUIRES: object-emission
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump - | FileCheck %S/gmlt_profiling.ll
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump -v - | FileCheck %S/gmlt_profiling.ll
|
||||
|
||||
; CHECK: .debug_info
|
||||
; CHECK: DW_TAG_subprogram
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s
|
||||
|
||||
; Generated from the following source:
|
||||
; namespace ns {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; This is a test case that's as reduced as I can get it, though I haven't fully
|
||||
; understood the mechanisms by which this bug occurs, so perhaps there's further
|
||||
|
@ -1,8 +1,8 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump -debug-info - > %t
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump -v -debug-info - > %t
|
||||
; RUN: FileCheck %s -check-prefix=ONENAME < %t
|
||||
; RUN: FileCheck %s -check-prefix=REF < %t
|
||||
; Verify tuning for SCE gets us Abstract only.
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -debugger-tune=sce < %s | llvm-dwarfdump -debug-info - > %t
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -debugger-tune=sce < %s | llvm-dwarfdump -v -debug-info - > %t
|
||||
; RUN: FileCheck %s -check-prefix=ONENAME < %t
|
||||
; RUN: FileCheck %s -check-prefix=REF < %t
|
||||
; REQUIRES: object-emission
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; Make sure we're emitting DW_AT_main_subprogram.
|
||||
; CHECK: DW_TAG_subprogram
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; generated by clang from:
|
||||
; struct foo {
|
||||
|
@ -2,7 +2,7 @@
|
||||
; XFAIL: hexagon
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
; CHECK: DW_TAG_ptr_to_member_type
|
||||
; CHECK: DW_TAG_ptr_to_member_type
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE:0x[0-9a-f]+]]})
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; The formal parameter 'b' for Function 'x' when inlined within 'a' is lost on
|
||||
; mips and powerpc64 (and on x86_64 at at least -O2). Presumably this is a
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; CHECK: debug_info contents
|
||||
; CHECK: DW_AT_name{{.*}}= [[F1:.*]])
|
||||
; CHECK: [[NS1:0x[0-9a-f]*]]:{{ *}}DW_TAG_namespace
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Generated from clang with the following source:
|
||||
; namespace ns {
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; Generate from clang with the following source. Note that the definition of
|
||||
; the inline function follows its use to workaround another bug that should be
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
; Test that a nodebug function (a function not appearing in the debug info IR
|
||||
; metadata subprogram list) with DebugLocs on its IR doesn't cause crashes/does
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; Check that pointers and references get emitted without size information in
|
||||
; DWARF, even if they are so specified in the IR
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; This isn't a very pretty test case - I imagine there might be other ways to
|
||||
; tickle the optimizers into producing the desired code, but I haven't found
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s
|
||||
; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s
|
||||
; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s
|
||||
; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s
|
||||
|
||||
; CHECK: DW_AT_name {{.*}} "dst"
|
||||
; V2: DW_AT_type {{.*}} {[[PTR:0x.*]]}
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; Use correct signedness when emitting constants of derived (sugared) types.
|
||||
|
||||
; CHECK: DW_AT_const_value [DW_FORM_sdata] (42)
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; This was pulled from clang's debug-info-template-recursive.cpp test.
|
||||
; class base { };
|
||||
|
@ -1,6 +1,6 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; CHECK: DW_TAG_subprogram
|
||||
; CHECK: DW_AT_name {{.*}} "f"
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
; CHECK: [[TYPE:.*]]: DW_TAG_structure_type
|
||||
; Make sure we correctly handle containing type of a struct being a type identifier.
|
||||
; CHECK-NEXT: DW_AT_containing_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE]]})
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
; CHECK: DW_TAG_ptr_to_member_type
|
||||
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE:0x[0-9a-f]+]]})
|
||||
; CHECK: [[TYPE]]: DW_TAG_base_type
|
||||
|
@ -2,7 +2,7 @@
|
||||
; PR 19261
|
||||
|
||||
; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %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
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
; REQUIRES: object-emission
|
||||
;
|
||||
; Test debug info for variadic function arguments.
|
||||
|
@ -1,7 +1,7 @@
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; Generated from the following C++ source code:
|
||||
;
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: llc -start-after=livedebugvalues -filetype=obj -o - %s \
|
||||
# RUN: | llvm-dwarfdump - | FileCheck %s
|
||||
# RUN: | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
# This tests for a crash in DwarfDebug's singular DBG_VALUE range promotion when
|
||||
# encountering an IMPLICIT_DEF in its own lexical scope.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump --debug-info - | FileCheck %s
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v --debug-info - | FileCheck %s
|
||||
# CHECK: .debug_info contents:
|
||||
# CHECK: DW_TAG_variable
|
||||
# CHECK-NEXT: DW_AT_location {{.*}} (DW_OP_reg1 RDX, DW_OP_bit_piece 0x8 0x8)
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
#
|
||||
# This testcase has an implicit def pseudo-iunstruction with a debug location.
|
||||
#
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -filetype=obj -O0 -relocation-model=pic < %s -mtriple mips-unknown-linux-gnu | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -filetype=obj -O0 -relocation-model=pic < %s -mtriple mips-unknown-linux-gnu | llvm-dwarfdump -v - | FileCheck %s
|
||||
; PR19815
|
||||
|
||||
; Generated using clang -target mips-linux-gnu -g test.c -S -o - -flto|opt -sroa -S
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -march=mips -mcpu=mips32r2 -O1 -filetype=obj -relocation-model=pic <%s | \
|
||||
; RUN: llvm-dwarfdump -all - | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -all - | FileCheck %s
|
||||
|
||||
; void foo(int *);
|
||||
;
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -march=mips -mcpu=mips32r2 -O0 -filetype=obj -fast-isel=0 <%s | \
|
||||
; RUN: llvm-dwarfdump -all - | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -all - | FileCheck %s
|
||||
|
||||
declare void @llvm.dbg.declare(metadata, metadata, metadata)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -filetype=obj -O0 < %s -mtriple sparc64-unknown-linux-gnu | llvm-dwarfdump - | FileCheck %s --check-prefix=SPARC64
|
||||
; RUN: llc -filetype=obj -O0 < %s -mtriple sparc-unknown-linux-gnu | llvm-dwarfdump - | FileCheck %s --check-prefix=SPARC32
|
||||
; RUN: llc -filetype=obj -O0 < %s -mtriple sparc64-unknown-linux-gnu | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPARC64
|
||||
; RUN: llc -filetype=obj -O0 < %s -mtriple sparc-unknown-linux-gnu | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPARC32
|
||||
|
||||
; Check for DW_CFA_GNU_Window_save in debug_frame. Also, Ensure that relocations
|
||||
; are performed correctly in debug_info.
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc -mtriple=s390x-linux-gnu -disable-fp-elim < %s | FileCheck %s
|
||||
; RUN: llc -mtriple=s390x-linux-gnu -disable-fp-elim -filetype=obj < %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=DEBUG %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=DEBUG %s
|
||||
;
|
||||
; This is a regression test making sure the location of variables is correct in
|
||||
; debugging information, even if they're addressed via the frame pointer.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc < %s -triple=s390x-linux-gnu -filetype=obj | llvm-dwarfdump - | FileCheck %s
|
||||
# RUN: llvm-mc < %s -triple=s390x-linux-gnu -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
|
||||
#
|
||||
# We use both R_390_32 and R_390_64 to encode the dwarf information.
|
||||
# Test that they are used correctly. This uses the assembly output
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-pc-linux-gnu %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; ModuleID = 'test.c'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -filetype=obj -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; C++ source to regenerate:
|
||||
; $ cat t.cpp
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-macosx %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
;
|
||||
; struct A {
|
||||
; A(int i);
|
||||
|
@ -1,8 +1,8 @@
|
||||
; RUN: llc -O1 -filetype=obj -mtriple=x86_64-apple-darwin < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
; RUN: llvm-objdump -r %t | FileCheck -check-prefix=DARWIN %s
|
||||
; RUN: llc -O1 -filetype=obj -mtriple=x86_64-pc-linux-gnu < %s > %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
; RUN: llvm-objdump -r %t | FileCheck -check-prefix=LINUX %s
|
||||
|
||||
; PR9493
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; CHECK: DW_TAG_formal_parameter [
|
||||
; CHECK-NOT: ""
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; test that the DW_AT_specification is a back edge in the file.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llc -mtriple=i686-w64-mingw32 -o %t -filetype=obj %s
|
||||
; RUN: llvm-dwarfdump -all %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -all %t | FileCheck %s
|
||||
; RUN: llc -mtriple=i686-w64-mingw32 -o %t -filetype=obj -dwarf-version=3 %s
|
||||
; RUN: llvm-dwarfdump -all %t | FileCheck %s -check-prefix=DWARF3
|
||||
; RUN: llvm-dwarfdump -v -all %t | FileCheck %s -check-prefix=DWARF3
|
||||
|
||||
; CHECK: DW_AT_stmt_list [DW_FORM_sec_offset]
|
||||
; DWARF3: DW_AT_stmt_list [DW_FORM_data4]
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; Check that the friend tag is there and is followed by a DW_AT_friend that has a reference back.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
; PR31381: An assertion in the DWARF backend when fragments in MMI slots are
|
||||
; sorted by largest offset first.
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; CHECK: DW_TAG_formal_parameter
|
||||
; CHECK: DW_TAG_formal_parameter
|
||||
; CHECK-NEXT: DW_AT_location [DW_FORM_exprloc] (DW_OP_fbreg -8, DW_OP_piece 0x3, DW_OP_piece 0x6, DW_OP_fbreg -3, DW_OP_piece 0x3)
|
||||
|
@ -13,7 +13,7 @@
|
||||
; }
|
||||
;
|
||||
; RUN: llc -filetype=asm %s -o - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump - ---debug-info | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump -v - ---debug-info | FileCheck %s --check-prefix=DWARF
|
||||
|
||||
; CHECK-LABEL: _main:
|
||||
; CHECK: movaps {{.*}}, (%rsp)
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llc -mtriple x86_64-apple-macosx -O0 -filetype=obj -o - %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc -mtriple x86_64-gnu-linux -O0 -filetype=obj -o - %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck %s --check-prefix=LINUX
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s --check-prefix=LINUX
|
||||
; LINUX-NOT: DW_AT_data_bit_offset
|
||||
;
|
||||
; Generated from:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple x86_64-apple-macosx -O0 -filetype=obj -o %t_le.o %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t_le.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t_le.o | FileCheck %s
|
||||
|
||||
; Produced at -O0 from:
|
||||
; struct bitfield {
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc %s -o %t -filetype=obj
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
|
||||
; Checks that we emit debug info for the block variable declare.
|
||||
; CHECK: DW_TAG_subprogram
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-macosx10.8.0 -O0 -filetype=obj -o %t %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
|
||||
; Test that we generate debug info for by-value struct args that are not used.
|
||||
;
|
||||
; CHECK: DW_TAG_formal_parameter
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=x86_64-linux < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-linux < %s -filetype=obj | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
|
||||
; test that we add DW_AT_inline even when we only have concrete out of line
|
||||
; instances.
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc %s -filetype=obj -o %t.o
|
||||
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
; Test emitting a constant for an aggregate type.
|
||||
;
|
||||
; clang -S -O1 -emit-llvm
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: %llc_dwarf -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,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-linux -O0 -o - -filetype=obj < %s | llvm-dwarfdump -debug-info -| FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-linux -dwarf-version=2 -O0 -o - -filetype=obj < %s | llvm-dwarfdump -debug-info -| FileCheck -check-prefix=DWARF2 %s
|
||||
; RUN: llc -mtriple=x86_64-linux -O0 -o - -filetype=obj < %s | llvm-dwarfdump -v -debug-info -| FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-linux -dwarf-version=2 -O0 -o - -filetype=obj < %s | llvm-dwarfdump -v -debug-info -| FileCheck -check-prefix=DWARF2 %s
|
||||
|
||||
; Generated from Clang with the following source:
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump - --debug-info | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v - --debug-info | FileCheck %s
|
||||
;
|
||||
; IR module created as follows:
|
||||
; clang -emit-llvm -S db-abs-1.cpp -o db-abs-1.ll -g
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj < %s \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
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"
|
||||
target triple = "x86_64-apple-macosx10.6.7"
|
||||
; Radar 9511391
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump - --debug-info | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v - --debug-info | FileCheck %s --check-prefix=DWARF
|
||||
|
||||
; This should use the frame index side table for allocas, not DBG_VALUE
|
||||
; instructions. For SDAG ISel, this test would see an SDNode materializing the
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -O0 -fast-isel=true -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -O0 -fast-isel=true -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
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"
|
||||
target triple = "x86_64-apple-macosx10.6.7"
|
||||
; rdar://problem/9321650
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s -O0 -mtriple x86_64-apple-darwin | FileCheck %s
|
||||
; RUN: llc < %s -O0 -mtriple x86_64-apple-darwin -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump - --debug-info | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: | llvm-dwarfdump -v - --debug-info | FileCheck %s --check-prefix=DWARF
|
||||
; <rdar://problem/11134152>
|
||||
|
||||
; CHECK-LABEL: _foo:
|
||||
|
@ -1,6 +1,6 @@
|
||||
; RUN: llc -mtriple=x86_64-unknown-unknown -o - %s | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-unknown-unknown -filetype=obj < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF
|
||||
|
||||
define i1 @test() !dbg !4 {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump - --debug-info | FileCheck %s
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v - --debug-info | FileCheck %s
|
||||
;
|
||||
; IR module created as follows:
|
||||
; clang -emit-llvm -S -O2 foo.cpp -o foo.ll -g
|
||||
|
@ -1,9 +1,9 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin < %s -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=DARWIN %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=DARWIN %s
|
||||
; RUN: llc -mtriple=x86_64-linux-gnu < %s -filetype=obj \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=LINUX %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=LINUX %s
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin < %s -filetype=obj -regalloc=basic \
|
||||
; RUN: | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=DARWIN %s
|
||||
; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=DARWIN %s
|
||||
|
||||
; CHECK: DW_TAG_subprogram
|
||||
; CHECK: DW_AT_abstract_origin {{.*}} "foo"
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -regalloc=basic -o - | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; RUN: llc -filetype=obj %s -regalloc=basic -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
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"
|
||||
target triple = "x86_64-apple-darwin10.0.0"
|
||||
; Test that the type for the formal parameter "var" makes it into the debug info.
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s | FileCheck %s --check-prefix=ASM
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF
|
||||
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF
|
||||
|
||||
; Values in registers should be clobbered by calls, which use a regmask instead
|
||||
; of individual register def operands.
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc -mtriple x86_64-apple-darwin -filetype=obj -o %t.o < %s
|
||||
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
|
||||
; Generated from llvm/tools/clang/test/CodeGenObjC/debug-info-blocks.m
|
||||
; rdar://problem/9279956
|
||||
|
@ -4,7 +4,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: llvm-dwarfdump -debug-info %t.o | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
|
||||
; REQUIRES: object-emission
|
||||
|
||||
; // ---------------------------------------------------------------------
|
||||
|
@ -1,9 +1,9 @@
|
||||
; RUN: llc %s -o %t -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu -dwarf-version=4
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s -check-prefix=PRESENT
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s -check-prefix=ABSENT
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -check-prefix=PRESENT
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -check-prefix=ABSENT
|
||||
; RUN: llc %s -o %t -filetype=obj -O0 -mtriple=x86_64-apple-darwin -dwarf-version=4
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s -check-prefix=DARWINP
|
||||
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s -check-prefix=DARWINA
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -check-prefix=DARWINP
|
||||
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s -check-prefix=DARWINA
|
||||
; Verify that attributes we do want are PRESENT;
|
||||
; verify that attributes we don't want are ABSENT.
|
||||
; It's a lot easier to do this in two passes than in one.
|
||||
|
@ -4,7 +4,7 @@
|
||||
; for the stack location directly instead of generating a register+offset indirection.
|
||||
|
||||
; RUN: llc -O2 -filetype=obj -disable-post-ra -mtriple=x86_64-unknown-linux-gnu < %s \
|
||||
; RUN: | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: | llvm-dwarfdump -v - | FileCheck %s
|
||||
;
|
||||
; int data = 17;
|
||||
; int sum = 0;
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc %s -filetype=obj -O0 -mtriple=i386-unknown-linux-gnu -dwarf-version=4 -o %t
|
||||
; RUN: llvm-dwarfdump %t | FileCheck %s
|
||||
; RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
; From the code:
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
|
||||
; CHECK-LABEL: .debug_info contents:
|
||||
|
@ -1,8 +1,8 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -O0 -filetype=obj -dwarf-version 4 \
|
||||
; RUN: -o - < %s | llvm-dwarfdump - --debug-info \
|
||||
; RUN: -o - < %s | llvm-dwarfdump -v - --debug-info \
|
||||
; RUN: | FileCheck %s -check-prefixes=CHECK,DWARF4
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -O0 -filetype=obj -dwarf-version 5 \
|
||||
; RUN: -o - < %s | llvm-dwarfdump - --debug-info \
|
||||
; RUN: -o - < %s | llvm-dwarfdump -v - --debug-info \
|
||||
; RUN: | FileCheck %s -check-prefixes=CHECK,DWARF5
|
||||
|
||||
; Check that we can omit default array lower-bounds.
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -O0 -filetype=obj -o - < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
; RUN: llc -mtriple=x86_64-apple-darwin -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
|
||||
; PR33157. Don't crash on duplicate dbg.declare.
|
||||
; CHECK: DW_TAG_formal_parameter
|
||||
; CHECK: DW_AT_location [DW_FORM_exprloc]
|
||||
|
@ -1,8 +1,8 @@
|
||||
; Test dwarf codegen of DW_OP_minus.
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -dwarf-version=2 -filetype=obj < %s | llvm-dwarfdump - \
|
||||
; RUN: llc -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
|
||||
; RUN: llc -dwarf-version=2 -filetype=obj < %s | llvm-dwarfdump -v - \
|
||||
; RUN: | FileCheck %s --check-prefix=DWARF2
|
||||
; RUN: llc -dwarf-version=3 -filetype=obj < %s | llvm-dwarfdump - \
|
||||
; RUN: llc -dwarf-version=3 -filetype=obj < %s | llvm-dwarfdump -v - \
|
||||
; RUN: | FileCheck %s --check-prefix=DWARF2
|
||||
|
||||
; This was derived manually from:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user