1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/DebugInfo/symbolize-build-id-error.test
Petr Hosek d81def4b19 [Symbolize] Handle error after the notes loop
We always have to check the error, even if we're going to ignore it.
2020-01-27 11:00:27 -08:00

24 lines
470 B
Plaintext

# RUN: yaml2obj %s -o %t
# RUN: llvm-symbolizer --debug-file-directory=%p/Inputs --obj=%t 0x20112f | FileCheck %s
# CHECK: ??
# CHECK-NEXT: ??:0:0
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_X86_64
Sections:
- Name: .note.invalid
Type: SHT_NOTE
Flags: [ SHF_ALLOC ]
Content: 0123456789
ProgramHeaders:
- Type: PT_NOTE
Flags: [ PF_R ]
Sections:
- Section: .note.invalid