HomePhabricator

[llvm-objcopy] [COFF] Fix writing object files without symbols/string table

Authored by mstorsjo on Jan 11 2019, 5:47 AM.

Description

[llvm-objcopy] [COFF] Fix writing object files without symbols/string table

Previously, this was broken - by setting PointerToSymbolTable to zero
but still actually writing the string table length, the object file
header was corrupted.

Differential Revision: https://reviews.llvm.org/D56584

llvm-svn: 350926