mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
77f80ce337
COFF object files with 0 as string table size are currently rejected. This prevents us from reading object files written by tools like cvtres that violate the PECOFF spec and write 0 instead of 4 for the size of an empty string table. llvm-svn: 202292
9 lines
248 B
Plaintext
9 lines
248 B
Plaintext
Ensure that we can read COFF objects with a string table size of 0 (instead
|
|
of 4) for empty string tables.
|
|
|
|
RUN: llvm-readobj -t %p/Inputs/zero-string-table.obj.coff-i386 | FileCheck %s
|
|
|
|
CHECK: Symbols [
|
|
CHECK: Symbol {
|
|
CHECK: Name: $R000000
|