Files
clang-p2996/lld/test/COFF/invalid-obj.test
Rui Ueyama 8e186df2f5 COFF: Corrected error message if a section failed to load.
There is no sense to use Name in these lines as it is not initialized yet.

Patch from Igor Kudrin!

llvm-svn: 247531
2015-09-13 20:22:22 +00:00

15 lines
284 B
Plaintext

# RUN: yaml2obj %s > %t.obj
# RUN: not lld-link %t.obj 2>&1 | FileCheck %s
# CHECK: getSectionName failed: #1:
---
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: []
sections:
- Name: '/1'
Characteristics: []
SectionData: 00
symbols: