[PATCH] D89639: [lld-macho] Emit empty string as first entry of string table
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 17 20:46:34 PDT 2020
int3 created this revision.
int3 added reviewers: lld-macho, alexshap.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
int3 requested review of this revision.
ld64 emits string tables which start with a space and a zero byte. We
match its behavior here since some tools depend on it.
Similar rationale as D89561: [MC] Adjust StringTableBuilder for linked Mach-O binaries <https://reviews.llvm.org/D89561>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89639
Files:
lld/MachO/SyntheticSections.h
lld/test/MachO/symtab.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89639.298861.patch
Type: text/x-patch
Size: 3603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201018/ffefc4dc/attachment.bin>
More information about the llvm-commits
mailing list