[ELF] relocateNonAlloc: clean up workaround code
[llvm-project.git] / lld / test / COFF / invalid-obj.test
blob078cd13dad133bfb96f088068f5afab633565cce
1 # RUN: yaml2obj %s -o %t.obj
2 # RUN: env LLD_IN_TEST=1 not lld-link %t.obj 2>&1 | FileCheck %s
4 # CHECK: getSectionName failed: #1:
6 --- !COFF
7 header:
8   Machine:         IMAGE_FILE_MACHINE_AMD64
9   Characteristics: []
10 sections:
11   - Name:            '/1'
12     Characteristics: []
13     SectionData:     00
14 symbols: