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: 312976
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# ZLIBFLAGS-NEXT: Flags [
|
||||
# ZLIBFLAGS-NEXT: SHF_COMPRESSED
|
||||
|
||||
# RUN: llvm-dwarfdump %t1 -debug-dump=str | \
|
||||
# RUN: llvm-dwarfdump %t1 -debug-str | \
|
||||
# RUN: FileCheck %s --check-prefix=DEBUGSTR
|
||||
# DEBUGSTR: .debug_str contents:
|
||||
# DEBUGSTR-NEXT: AAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
# RUN: echo "SECTIONS { }" > %t.script
|
||||
# RUN: ld.lld -O0 %t1.o %t2.o %t.script -o %t1 --compress-debug-sections=zlib
|
||||
# RUN: llvm-dwarfdump %t1 | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -a %t1 | FileCheck %s
|
||||
# RUN: llvm-readobj -s %t1 | FileCheck %s --check-prefix=ZLIBFLAGS
|
||||
|
||||
# RUN: echo "SECTIONS { .debug_str 0 : { *(.debug_str) } }" > %t2.script
|
||||
# RUN: ld.lld -O0 %t1.o %t2.o %t2.script -o %t2 --compress-debug-sections=zlib
|
||||
# RUN: llvm-dwarfdump %t2 | FileCheck %s
|
||||
# RUN: llvm-dwarfdump -a %t2 | FileCheck %s
|
||||
# RUN: llvm-readobj -s %t2 | FileCheck %s --check-prefix=ZLIBFLAGS
|
||||
|
||||
# CHECK: .debug_str contents:
|
||||
|
||||
Reference in New Issue
Block a user