Currently llvm-dwp only handled DW_FORM_string and DW_FORM_GNU_str_index; with this patch it also starts to handle DW_FORM_strx[1-4]? Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D75485
8 lines
371 B
ArmAsm
8 lines
371 B
ArmAsm
# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.o \
|
|
# RUN: -split-dwarf-file=%t.dwo -dwarf-version=5
|
|
# RUN: not llvm-dwp %t.dwo -o %t.dwp 2>&1 | FileCheck %s
|
|
|
|
# CHECK: error: cannot parse compile unit version: unexpected end of data at offset 0x4 while reading [0x4, 0x6)
|
|
.section .debug_info.dwo,"e",@progbits
|
|
.long 0 # Length of Unit
|