mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm-dwp] Clean up tests X86/*.test
llvm-svn: 341688
This commit is contained in:
parent
0cbd32eb1a
commit
fd06ef5a2f
@ -1,8 +1,7 @@
|
||||
REQUIRES: zlib
|
||||
RUN: llvm-dwp %p/../Inputs/compress/a.dwo -o %t
|
||||
RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
|
||||
REQUIRES: zlib
|
||||
|
||||
Simple test built from this input which produces DWARF long enough to be compressed in the .[z]debug_info section:
|
||||
|
||||
void f(int a, int b, int c, int d) {
|
||||
|
@ -1,7 +1,6 @@
|
||||
REQUIRES: zlib
|
||||
RUN: not llvm-dwp %p/../Inputs/compressfail/a.dwo -o %t 2>&1 | FileCheck %s
|
||||
RUN: not llvm-dwp %p/../Inputs/empty_compressed_section.dwo -o %t 2>&1 | FileCheck %s
|
||||
RUN: not llvm-dwp %p/../Inputs/invalid_compressed.dwo -o %t 2>&1 | FileCheck %s
|
||||
|
||||
REQUIRES: zlib
|
||||
|
||||
CHECK: error: failure while decompressing compressed section: '.zdebug_{{.*}}.dwo'
|
||||
|
@ -10,8 +10,7 @@ RUN: cp %p/../Inputs/dwos_list_from_exec/d.dwo d.dwo
|
||||
RUN: cp %p/../Inputs/dwos_list_from_exec/e.dwo e.dwo
|
||||
RUN: cp %p/../Inputs/dwos_list_from_exec/main main
|
||||
RUN: cp %p/../Inputs/dwos_list_from_exec/libd.so libd.so
|
||||
RUN: llvm-dwp c.dwo e.dwo -e main -e libd.so -o pkg.dwp
|
||||
RUN: llvm-dwarfdump -v pkg.dwp | FileCheck %s
|
||||
RUN: llvm-dwp c.dwo e.dwo -e main -e libd.so -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
|
||||
Build commands for the test binaries:
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
RUN: llvm-dwp %p/../Inputs/gcc_type/a.dwo -o %t
|
||||
RUN: llvm-dwarfdump -v %t | FileCheck %s
|
||||
RUN: llvm-dwp %p/../Inputs/gcc_type/a.dwo -o - | llvm-dwarfdump -v - | FileCheck %s
|
||||
RUN: not llvm-dwp %p/../Inputs/gcc_type/a.dwo %p/../Inputs/gcc_type/a.dwo -o %t 2>&1 | FileCheck --check-prefix=DUP %s
|
||||
|
||||
CHECK: Type Unit
|
||||
|
@ -1,5 +1,4 @@
|
||||
REQUIRES: nozlib
|
||||
RUN: not llvm-dwp %p/../Inputs/compress/a.dwo -o %t 2>&1 | FileCheck %s
|
||||
|
||||
REQUIRES: nozlib
|
||||
|
||||
CHECK: error: failure while decompressing compressed section: '.zdebug_{{.*}}.dwo', zlib is not available
|
||||
|
@ -1,10 +1,8 @@
|
||||
RUN: llvm-dwp %p/../Inputs/simple/notypes/a.dwo %p/../Inputs/simple/notypes/b.dwo -o %t
|
||||
RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=CHECK --check-prefix=NOTYP %s
|
||||
RUN: llvm-dwarfdump -v %t | FileCheck --check-prefixes=CHECK,NOTYP %s
|
||||
RUN: llvm-objdump -h %t | FileCheck --check-prefix=NOTYPOBJ %s
|
||||
RUN: llvm-dwp %p/../Inputs/simple/types/a.dwo %p/../Inputs/simple/types/b.dwo -o %t
|
||||
RUN: llvm-dwarfdump -v %t | FileCheck --check-prefixes=CHECK,TYPES %s
|
||||
|
||||
FIXME: For some reason, piping straight from llvm-dwp to llvm-dwarfdump -v doesn't behave well - looks like dwarfdump is reading/closes before dwp has finished.
|
||||
RUN: llvm-dwp %p/../Inputs/simple/types/a.dwo %p/../Inputs/simple/types/b.dwo -o - \
|
||||
RUN: | llvm-dwarfdump -v - | FileCheck --check-prefixes=CHECK,TYPES %s
|
||||
|
||||
DWP from non-type-unit debug info for these two translation units:
|
||||
a.cpp:
|
||||
|
Loading…
x
Reference in New Issue
Block a user