Skip to content

Commit 3776c52

Browse files
committed
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
1 parent 8fd0504 commit 3776c52

File tree

210 files changed

+301
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+301
-298
lines changed

test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
22

33
source_filename = "test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll"
44
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"

test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc -arm-global-merge -global-merge-group-by-use=false -filetype=obj < %s | llvm-dwarfdump -debug-info -v - | FileCheck %s
22

33
; CHECK: DW_TAG_variable
44
; CHECK-NOT: DW_TAG

test/CodeGen/ARM/debug-info-blocks.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s
22

33
; debug_info content
44
; CHECK: DW_AT_name {{.*}} "foobar_func_block_invoke_0"

test/CodeGen/X86/2010-01-18-DbgValue.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -mtriple=i686-- -O0 < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc -mtriple=i686-- -O0 < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
22

33
; CHECK-LABEL: .debug_info contents:
44

test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s
2-
; RUN: llc < %s -filetype=obj -regalloc=basic | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc < %s -filetype=obj | llvm-dwarfdump -v -debug-info - | FileCheck %s
2+
; RUN: llc < %s -filetype=obj -regalloc=basic | llvm-dwarfdump -v -debug-info - | FileCheck %s
33
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"
44
target triple = "x86_64-apple-darwin10.0.0"
55

test/CodeGen/X86/dbg-baseptr.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llc -o - %s | FileCheck %s
2-
; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF
2+
; RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF
33
; This test checks that parameters on the stack pointer are correctly
44
; referenced by debug info.
55
target triple = "x86_64--"

test/CodeGen/X86/dwarf-headers.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
; RUN: llc -dwarf-version=4 -generate-type-units \
22
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
3-
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SINGLE-4
3+
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-4
44

55
; RUN: llc -split-dwarf-file=foo.dwo -dwarf-version=4 -generate-type-units \
66
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
7-
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SPLIT-4
7+
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPLIT-4
88

99
; RUN: llc -dwarf-version=5 -generate-type-units \
1010
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
11-
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SINGLE-5
11+
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SINGLE-5
1212

1313
; RUN: llc -split-dwarf-file=foo.dwo -dwarf-version=5 -generate-type-units \
1414
; RUN: -filetype=obj -O0 -mtriple=x86_64-unknown-linux-gnu < %s \
15-
; RUN: | llvm-dwarfdump - | FileCheck %s --check-prefix=SPLIT-5
15+
; RUN: | llvm-dwarfdump -v - | FileCheck %s --check-prefix=SPLIT-5
1616

1717
; Looking for DWARF headers to be generated correctly.
1818
; There are 7 variants: v4 CU, v4 TU, v5 (normal/skeleton/split) CU,

test/DebugInfo/AArch64/asan-stack-vars.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
22
;
33
; Derived from (clang -O0 -g -fsanitize=address -fobjc-arc)
44
; @protocol NSObject

test/DebugInfo/AArch64/bitfields.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llc -mtriple aarch64_be-gnu-linux -O0 -filetype=obj -o %t_be.o %s
2-
; RUN: llvm-dwarfdump -debug-info %t_be.o | FileCheck %s
2+
; RUN: llvm-dwarfdump -v -debug-info %t_be.o | FileCheck %s
33

44
; Produced at -O0 from:
55
; struct bitfield {

test/DebugInfo/AArch64/dwarfdump.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; RUN: llc -mtriple=aarch64-non-linux-gnu -dwarf-version=4 < %s -filetype=obj \
2-
; RUN: | llvm-dwarfdump - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-4 %s
2+
; RUN: | llvm-dwarfdump -v - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-4 %s
33
; RUN: llc -mtriple=aarch64-non-linux-gnu -dwarf-version=3 < %s -filetype=obj \
4-
; RUN: | llvm-dwarfdump - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-3 %s
4+
; RUN: | llvm-dwarfdump -v - | FileCheck -check-prefix=CHECK -check-prefix=CHECK-3 %s
55

66
; We're mostly checking that relocations are applied correctly
77
; here. Currently R_AARCH64_ABS32 is used for references to debug data

test/DebugInfo/AArch64/frameindices.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -disable-fp-elim -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc -disable-fp-elim -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck %s
22
; Test that a variable with multiple entries in the MMI table makes it into the
33
; debug info.
44
;

test/DebugInfo/AArch64/line-header.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; RUN: llc -mtriple=aarch64-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s
2-
; RUN: llc -mtriple=aarch64_be-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc -mtriple=aarch64-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump -v - | FileCheck %s
2+
; RUN: llc -mtriple=aarch64_be-none-linux -O0 -filetype=obj - < %S/../Inputs/line.ll | llvm-dwarfdump -v - | FileCheck %s
33

44
; check line table length is correctly calculated for both big and little endian
55
CHECK-LABEL: .debug_line contents:

test/DebugInfo/AMDGPU/dwarfdump-relocs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump - 2>&1 | FileCheck %s
1+
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v - 2>&1 | FileCheck %s
22

33
; LLVM IR generated with the following command and OpenCL source:
44
;

test/DebugInfo/AMDGPU/pointer-address-space.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc -O0 -mtriple=amdgcn--amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
22

33
; LLVM IR generated with the following command and OpenCL source:
44
;

test/DebugInfo/AMDGPU/variable-locations.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc -O0 -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
22

33
; LLVM IR generated with the following command and OpenCL source:
44
;

test/DebugInfo/ARM/PR26163.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc -filetype=obj -o - < %s | llvm-dwarfdump -debug-info - | FileCheck %s
1+
; RUN: llc -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
22
;
33
; Checks that we're creating two ranges, one that terminates immediately
44
; and one that spans the rest of the function. This isn't necessarily the

test/DebugInfo/ARM/big-endian-bitfield.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: llc -O0 -filetype=obj -mtriple=armeb-none-freebsd -debugger-tune=lldb %s -o - \
2-
; RUN: | llvm-dwarfdump --debug-info - | FileCheck %s
2+
; RUN: | llvm-dwarfdump -v --debug-info - | FileCheck %s
33
; Generated from:
44
; struct S {
55
; int j:5;

test/DebugInfo/ARM/bitfield.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
2-
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
2+
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
33
; REQUIRES: object-emission
44
;
55
; Generated from:

test/DebugInfo/ARM/partial-subreg.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s
1+
; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump -v - | FileCheck %s
22
; This tests a fragment that partially covers subregister compositions.
33
;
44
; Our fragment is 96 bits long and lies in a 128-bit register, which

test/DebugInfo/ARM/split-complex.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s
2-
; RUN: llvm-dwarfdump -debug-info %t.o | FileCheck %s
2+
; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
33
; REQUIRES: object-emission
44
target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
55
target triple = "thumbv7-apple-unknown-macho"

test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44
; Radar 7833483
55
; Do not emit a separate out-of-line definition DIE for the function-local 'foo'
66
; function (member of the function local 'A' type)

test/DebugInfo/Generic/PR20038.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
; For some reason, the output when targetting sparc is not quite as expected.
44
; XFAIL: sparc
55

6-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
6+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
77

88
; IR generated from clang -O0 with:
99
; struct C {

test/DebugInfo/Generic/constant-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Ensure that pointer constants are emitted as unsigned data. Alternatively,
66
; these could be signless data (dataN).

test/DebugInfo/Generic/cross-cu-inlining.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck -implicit-check-not=DW_TAG %s
4-
; 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
3+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck -implicit-check-not=DW_TAG %s
4+
; 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
55

66
; Build from source:
77
; $ clang++ a.cpp b.cpp -g -c -emit-llvm

test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Testing that two distinct (distinct by writing them in separate files, while
66
; still fulfilling C++'s ODR by having identical token sequences) functions,

test/DebugInfo/Generic/cross-cu-linkonce.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Built from source:
66
; $ clang++ a.cpp b.cpp -g -c -emit-llvm

test/DebugInfo/Generic/cu-ranges.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22
; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t
3-
; RUN: llvm-dwarfdump %t | FileCheck %s
3+
; RUN: llvm-dwarfdump -v %t | FileCheck %s
44

55
; Check that we emit ranges for this which has a non-traditional section and a normal section.
66

test/DebugInfo/Generic/dead-argument-order.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Built from the following source with clang -O1
66
; struct S { int i; };

test/DebugInfo/Generic/debug-info-qualifiers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
; auto pr = &A::r;
1515
; }
1616
;
17-
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump - | FileCheck %s
17+
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v - | FileCheck %s
1818
; CHECK: DW_TAG_subroutine_type DW_CHILDREN_yes
1919
; CHECK-NEXT: DW_AT_reference DW_FORM_flag_present
2020
; CHECK: DW_TAG_subroutine_type DW_CHILDREN_yes

test/DebugInfo/Generic/enum-types.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22
;
3-
; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Make sure we can handle enums with the same identifier but in enum types of
66
; different compile units.

test/DebugInfo/Generic/enum.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

33
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4-
; RUN: llvm-dwarfdump %t | FileCheck %s
4+
; RUN: llvm-dwarfdump -v %t | FileCheck %s
55

66
; IR generated from the following code compiled with clang -g:
77
; enum e1 { I, J = 0xffffffffU, K = 0xf000000000000000ULL } a;

test/DebugInfo/Generic/gmlt_profiling.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; REQUIRES: object-emission
2-
; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump - | FileCheck %S/gmlt_profiling.ll
2+
; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump -v - | FileCheck %S/gmlt_profiling.ll
33

44
; CHECK: .debug_info
55
; CHECK: DW_TAG_subprogram

test/DebugInfo/Generic/imported-name-inlined.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s
44

55
; Generated from the following source:
66
; namespace ns {

test/DebugInfo/Generic/incorrect-variable-debugloc.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; This is a test case that's as reduced as I can get it, though I haven't fully
66
; understood the mechanisms by which this bug occurs, so perhaps there's further

test/DebugInfo/Generic/linkage-name-abstract.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump -debug-info - > %t
1+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump -v -debug-info - > %t
22
; RUN: FileCheck %s -check-prefix=ONENAME < %t
33
; RUN: FileCheck %s -check-prefix=REF < %t
44
; Verify tuning for SCE gets us Abstract only.
5-
; RUN: %llc_dwarf -O0 -filetype=obj -debugger-tune=sce < %s | llvm-dwarfdump -debug-info - > %t
5+
; RUN: %llc_dwarf -O0 -filetype=obj -debugger-tune=sce < %s | llvm-dwarfdump -v -debug-info - > %t
66
; RUN: FileCheck %s -check-prefix=ONENAME < %t
77
; RUN: FileCheck %s -check-prefix=REF < %t
88
; REQUIRES: object-emission

test/DebugInfo/Generic/mainsubprogram.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

33
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4-
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
4+
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
55

66
; Make sure we're emitting DW_AT_main_subprogram.
77
; CHECK: DW_TAG_subprogram

test/DebugInfo/Generic/member-order.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; generated by clang from:
66
; struct foo {

test/DebugInfo/Generic/member-pointers.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; XFAIL: hexagon
33

44
; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t
5-
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
5+
; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s
66
; CHECK: DW_TAG_ptr_to_member_type
77
; CHECK: DW_TAG_ptr_to_member_type
88
; CHECK-NEXT: DW_AT_type [DW_FORM_ref4] (cu + {{.*}} => {[[TYPE:0x[0-9a-f]+]]})

test/DebugInfo/Generic/missing-abstract-variable.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; The formal parameter 'b' for Function 'x' when inlined within 'a' is lost on
66
; mips and powerpc64 (and on x86_64 at at least -O2). Presumably this is a

test/DebugInfo/Generic/namespace.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v - | FileCheck %s
44
; CHECK: debug_info contents
55
; CHECK: DW_AT_name{{.*}}= [[F1:.*]])
66
; CHECK: [[NS1:0x[0-9a-f]*]]:{{ *}}DW_TAG_namespace

test/DebugInfo/Generic/namespace_function_definition.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Generated from clang with the following source:
66
; namespace ns {

test/DebugInfo/Generic/namespace_inline_function_definition.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; Generate from clang with the following source. Note that the definition of
66
; the inline function follows its use to workaround another bug that should be

test/DebugInfo/Generic/nodebug.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
3+
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
44

55
; Test that a nodebug function (a function not appearing in the debug info IR
66
; metadata subprogram list) with DebugLocs on its IR doesn't cause crashes/does

test/DebugInfo/Generic/ptrsize.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

33
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4-
; RUN: llvm-dwarfdump %t | FileCheck %s
4+
; RUN: llvm-dwarfdump -v %t | FileCheck %s
55

66
; Check that pointers and references get emitted without size information in
77
; DWARF, even if they are so specified in the IR

test/DebugInfo/Generic/recursive_inlining.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; This isn't a very pretty test case - I imagine there might be other ways to
66
; tickle the optimizers into producing the desired code, but I haven't found

test/DebugInfo/Generic/restrict.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s
4-
; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s
3+
; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s
4+
; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s
55

66
; CHECK: DW_AT_name {{.*}} "dst"
77
; V2: DW_AT_type {{.*}} {[[PTR:0x.*]]}

test/DebugInfo/Generic/sugared-constants.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
44
; Use correct signedness when emitting constants of derived (sugared) types.
55

66
; CHECK: DW_AT_const_value [DW_FORM_sdata] (42)

test/DebugInfo/Generic/template-recursive-void.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; REQUIRES: object-emission
22

33
; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t
4-
; RUN: llvm-dwarfdump %t | FileCheck %s
4+
; RUN: llvm-dwarfdump -v %t | FileCheck %s
55

66
; This was pulled from clang's debug-info-template-recursive.cpp test.
77
; class base { };

test/DebugInfo/Generic/thrownTypes.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; REQUIRES: object-emission
22

3-
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
3+
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s
44

55
; CHECK: DW_TAG_subprogram
66
; CHECK: DW_AT_name {{.*}} "f"

0 commit comments

Comments
 (0)