mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[llvm-dwp][test] Add nocompress.test testing LLVM_ENABLE_ZLIB==0
Rewrite a prebuilt file removed by D129728.
This commit is contained in:
parent
79016f6eef
commit
d8c817a9cd
18
llvm/test/tools/llvm-dwp/X86/nocompress.test
Normal file
18
llvm/test/tools/llvm-dwp/X86/nocompress.test
Normal file
@ -0,0 +1,18 @@
|
||||
# UNSUPPORTED: zlib
|
||||
# RUN: yaml2obj %s -o %t.o
|
||||
# RUN: not llvm-dwp %t.o -o /dev/null 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: error: failure while decompressing compressed section: '.debug_{{.*}}.dwo', zlib is not available
|
||||
|
||||
--- !ELF
|
||||
FileHeader:
|
||||
Class: ELFCLASS64
|
||||
Data: ELFDATA2LSB
|
||||
Type: ET_REL
|
||||
Machine: EM_X86_64
|
||||
Sections:
|
||||
- Name: .debug_info.dwo
|
||||
Type: SHT_PROGBITS
|
||||
Flags: [ SHF_COMPRESSED ]
|
||||
AddressAlign: 0x8
|
||||
Content: 01000000fd7f000056000000000000000100000000000000789c0b626060606100010e462083f1e6eb7f7c0d8b756299188480628c614ccc8c8ccc4c136b5818190381024066051b9c59c20e67167040980c2cacac2c0c00109a0afa
|
Loading…
Reference in New Issue
Block a user