1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[DWARFYAML][MachO] Remove endianness related tests.

fe08ab542bd6328a7906e38ae473cf655eb6a228 makes build bots unhappy
(http://lab.llvm.org:8011/builders/clang-s390x-linux/builds/33624/steps/ninja%20check%201/logs/FAIL%3A%20LLVM%3A%3ADWARF-debug_info.yaml).

This patch removes failed tests.
This commit is contained in:
Xing GUO 2020-06-30 21:14:28 +08:00
parent dd6630a7e7
commit 093e41853b
2 changed files with 8 additions and 65 deletions

View File

@ -580,20 +580,8 @@ DWARF:
## Test DWARF32 unit header.
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF32 %s -o %t2.dwarf32.o
# RUN: llvm-readobj --hex-dump=__debug_info %t2.dwarf32.o | \
# RUN: FileCheck %s --check-prefix=DWARF32-HEADER
# DWARF32-HEADER: Hex dump of section '__debug_info':
# DWARF32-HEADER-NEXT: 0x00000000 0c000000 04000000 00000801 34120000 ............4...
## ^------- unit_length (4-byte)
## ^--- version (2-byte)
## ^-------- debug_abbrev_offset (4-byte)
## ^- address_size (1-byte)
## ^- abbrev code (ULEB128)
## ^------- value, Form: DW_FORM_addr (4-byte)
# RUN: obj2yaml %t2.dwarf32.o | FileCheck %s --check-prefix=DWARF32-YAML
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF32 %s | \
# RUN: obj2yaml | FileCheck %s --check-prefix=DWARF32-YAML
# DWARF32-YAML: debug_info:
# DWARF32-YAML-NEXT: - Length: 12
@ -673,22 +661,8 @@ DWARF:
## Test DWARF64 unit header.
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF64 %s -o %t2.dwarf64.o
# RUN: llvm-readobj --hex-dump=__debug_info %t2.dwarf64.o | \
# RUN: FileCheck %s --check-prefix=DWARF64-HEADER
# DWARF64-HEADER: Hex dump of section '__debug_info':
# DWARF64-HEADER-NEXT: 0x00000000 ffffffff 0c000000 00000000 04000000 ................
## ^------------------------- unit_length (12-byte)
## ^--- version (2-byte)
## ^--- debug_abbrev_offset (8-byte)
# DWARF64-HEADER-NEXT: 0x00000010 00000000 00000801 34120000 00000000 ........4.......
## -------------
## ^- address_size (1-byte)
## ^- abbrev code (ULEB128)
## ^---------------- value, Form: DW_FORM_addr (8-byte)
# RUN: obj2yaml %t2.dwarf64.o | FileCheck %s --check-prefix=DWARF64-YAML
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF64 %s | \
# RUN: obj2yaml | FileCheck %s --check-prefix=DWARF64-YAML
# DWARF64-YAML: debug_info:
# DWARF64-YAML-NEXT: - Format: DWARF64

View File

@ -581,23 +581,8 @@ DWARF:
## Test DWARF32 unit header.
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF32 -DLENGTH=12 %s -o %t2.dwarf32.o
# RUN: llvm-readobj --hex-dump=__debug_info %t2.dwarf32.o | \
# RUN: FileCheck %s --check-prefix=DWARF32-HEADER
# DWARF32-HEADER: Hex dump of section '__debug_info':
# DWARF32-HEADER-NEXT: 0x00000000 0c000000 05000108 00000000 01341200 .............4..
## ^------- unit_header (4-byte)
## ^--- version (2-byte)
## ^- unit_type (1-byte)
## ^- address_size (1-byte)
## ^------- deubug_abbrev_offset (4-byte)
## ^- abbrev code (ULEB128)
## ^----- value, Form: DW_AT_addr (8-byte)
# DWARF32-HEADER-NEXT: 0x00000010 00000000 00 .....
## -----------
# RUN: obj2yaml %t2.dwarf32.o | FileCheck %s --check-prefix=DWARF32-YAML
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF32 -DLENGTH=12 %s | \
# RUN: obj2yaml | FileCheck %s --check-prefix=DWARF32-YAML
# DWARF32-YAML: debug_info:
# DWARF32-YAML-NEXT: - Length: 12
@ -679,24 +664,8 @@ DWARF:
## Test DWARF64 unit header.
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF64 -DLENGTH=20 %s -o %t2.dwarf64.o
# RUN: llvm-readobj --hex-dump=__debug_info %t2.dwarf64.o | \
# RUN: FileCheck %s --check-prefix=DWARF64-HEADER
# DWARF64-HEADER: Hex dump of section '__debug_info':
# DWARF64-HEADER-NEXT: 0x00000000 ffffffff 14000000 00000000 05000108 ................
## ^------------------------- unit_length (12-byte)
## ^--- version (2-byte)
## ^- unit_type (1-byte)
## ^- address_size (1-byte)
# DWARF64-HEADER-NEXT: 0x00000010 00000000 00000000 01341200 00000000 .........4......
## ^---------------- debug_abbrev_offset (8-byte)
## ^- abbrev code (ULEB128)
## ^-------------- value, Form: DW_AT_addr (8-byte)
# DWARF64-HEADER-NEXT: 0x00000020 00 .
## --
# RUN: obj2yaml %t2.dwarf64.o | FileCheck %s --check-prefix=DWARF64-YAML
# RUN: yaml2obj --docnum=2 -DFORMAT=DWARF64 -DLENGTH=20 %s | \
# RUN: obj2yaml | FileCheck %s --check-prefix=DWARF64-YAML
# DWARF64-YAML: debug_info:
# DWARF64-YAML-NEXT: - Format: DWARF64