mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
Update testcases for llvm-dwarfdump command line interface change
llvm-svn: 312974
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
|
||||
# RUN: ld.lld --gdb-index %t1.o -o %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s
|
||||
|
||||
# CHECK: .gnu_index contents:
|
||||
# CHECK: Address area offset = 0x28, has 2 entries:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
||||
# RUN: ld.lld --gdb-index %t.o -o %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s
|
||||
|
||||
## Testcase is based on output produced by gcc version 5.4.1 20160904
|
||||
## it has duplicate entries in .debug_gnu_pubtypes which seems to be
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t %s
|
||||
# RUN: ld.lld --gdb-index --gc-sections -o %t2 %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t2 | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t2 | FileCheck %s
|
||||
|
||||
# CHECK: Address area offset = 0x28, has 0 entries:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t %s
|
||||
# RUN: ld.lld --gdb-index --gc-sections -o %t2 %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t2 | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t2 | FileCheck %s
|
||||
|
||||
# CHECK: Address area offset = 0x28, has 1 entries:
|
||||
# CHECK-NEXT: Low/High address = [0x201000, 0x201001) (Size: 0x1), CU id = 0
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# REQUIRES: x86
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
|
||||
# RUN: ld.lld --gdb-index -e main %t.o -o %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s
|
||||
|
||||
# CHECK: .gnu_index contents:
|
||||
# CHECK: Address area offset = 0x28, has 2 entries:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
|
||||
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/gdb-index.s -o %t2.o
|
||||
# RUN: ld.lld --gdb-index -e main %t1.o %t2.o -o %t
|
||||
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s
|
||||
# RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=DISASM
|
||||
|
||||
# DISASM: Disassembly of section .text:
|
||||
|
||||
Reference in New Issue
Block a user