summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-09-12 21:50:55 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-09-12 21:50:55 +0000
commit876da0294a258a6cbbb2cd0b60a72b620d483a32 (patch)
treef2a047c79bb7d36482a35af12ab689ad901f49f0 /llvm/test/DebugInfo/X86
parentb52e23669cbd8637819d9ff7777d43cbc3bf8f31 (diff)
downloadbcm5719-llvm-876da0294a258a6cbbb2cd0b60a72b620d483a32.tar.gz
bcm5719-llvm-876da0294a258a6cbbb2cd0b60a72b620d483a32.zip
Remove -generate-dwarf-pub-sections flag.
This flag is unnecessary for testing because we can get the coverage we need by adjusting CU attributes. Differential Revision: https://reviews.llvm.org/D37725 llvm-svn: 313079
Diffstat (limited to 'llvm/test/DebugInfo/X86')
-rw-r--r--llvm/test/DebugInfo/X86/2010-04-13-PubType.ll2
-rw-r--r--llvm/test/DebugInfo/X86/c-type-units.ll2
-rw-r--r--llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll17
3 files changed, 9 insertions, 12 deletions
diff --git a/llvm/test/DebugInfo/X86/2010-04-13-PubType.ll b/llvm/test/DebugInfo/X86/2010-04-13-PubType.ll
index 820086af9f1..1d2c1af2773 100644
--- a/llvm/test/DebugInfo/X86/2010-04-13-PubType.ll
+++ b/llvm/test/DebugInfo/X86/2010-04-13-PubType.ll
@@ -1,4 +1,4 @@
-; RUN: llc -O0 -asm-verbose -mtriple=x86_64-macosx -generate-dwarf-pub-sections=Enable < %s | FileCheck %s
+; RUN: llc -O0 -asm-verbose -mtriple=x86_64-macosx -debugger-tune=gdb < %s | FileCheck %s
; CHECK-NOT: .asciz "X" ## External Name
; CHECK: .asciz "Y" ## External Name
; Test to check type with no definition is listed in pubtypes section.
diff --git a/llvm/test/DebugInfo/X86/c-type-units.ll b/llvm/test/DebugInfo/X86/c-type-units.ll
index 66e28c299f8..f3308b05778 100644
--- a/llvm/test/DebugInfo/X86/c-type-units.ll
+++ b/llvm/test/DebugInfo/X86/c-type-units.ll
@@ -1,6 +1,6 @@
; REQUIRES: object-emission
-; RUN: llc -o - %s -filetype=obj -O0 -generate-dwarf-pub-sections=Disable -generate-type-units -mtriple=x86_64-unknown-linux-gnu | llvm-dwarfdump -debug-types - | FileCheck %s
+; RUN: llc -o - %s -filetype=obj -O0 -debugger-tune=lldb -generate-type-units -mtriple=x86_64-unknown-linux-gnu | llvm-dwarfdump -debug-types - | FileCheck %s
; struct foo {
; } f;
diff --git a/llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll b/llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
index 2cd37a54f84..c4207afec81 100644
--- a/llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
+++ b/llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll
@@ -1,5 +1,4 @@
-; RUN: sed -e 's/gnuPubnames: false/gnuPubnames: true/' %s | llc -mtriple=x86_64-pc-linux-gnu -filetype=obj | llvm-dwarfdump -v - | FileCheck --check-prefix=GPUB --check-prefix=CHECK %s
-; RUN: llc -mtriple=x86_64-pc-linux-gnu -filetype=obj < %s -generate-dwarf-pub-sections=Enable | llvm-dwarfdump -v - | FileCheck --check-prefix=PUB --check-prefix=CHECK %s
+; RUN: sed -e 's/gnuPubnames: false/gnuPubnames: true/' %s | llc -mtriple=x86_64-pc-linux-gnu -filetype=obj | llvm-dwarfdump -v - | FileCheck --check-prefix=GPUB %s
; RUN: llc -mtriple=x86_64-pc-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck --check-prefix=NONE %s
; Generated from:
@@ -16,16 +15,14 @@
; GPUB: DW_AT_GNU_pubnames
; GPUB: .debug_gnu_pubnames contents:
-; PUB: .debug_pubnames contents:
-; CHECK-NEXT: unit_offset = 0x00000000
-; CHECK-NEXT: Name
-; CHECK-NEXT: "f2"
-; CHECK-NEXT: "f3"
+; GPUB-NEXT: unit_offset = 0x00000000
+; GPUB-NEXT: Name
+; GPUB-NEXT: "f2"
+; GPUB-NEXT: "f3"
; GPUB: .debug_gnu_pubtypes contents:
-; PUB: .debug_pubtypes contents:
-; CHECK-NEXT: length = 0x0000000e version = 0x0002 unit_offset = 0x00000000
-; CHECK-NEXT: Name
+; GPUB-NEXT: length = 0x0000000e version = 0x0002 unit_offset = 0x00000000
+; GPUB-NEXT: Name
; NONE: .debug_pubnames contents:
; NONE: {{^$}}
OpenPOWER on IntegriCloud