[all-commits] [llvm/llvm-project] 27e11d: [MC] Adjust StringTableBuilder for linked Mach-O b...
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Thu Oct 22 19:20:04 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 27e11d7120c0caa20a167b44ba29828446a525c0
https://github.com/llvm/llvm-project/commit/27e11d7120c0caa20a167b44ba29828446a525c0
Author: Alexander Shaposhnikov <alexshap at fb.com>
Date: 2020-10-22 (Thu, 22 Oct 2020)
Changed paths:
M llvm/include/llvm/MC/MCMachObjectWriter.h
M llvm/include/llvm/MC/StringTableBuilder.h
M llvm/lib/MC/StringTableBuilder.cpp
M llvm/test/tools/llvm-objcopy/MachO/basic-big-endian-64-copy.test
M llvm/test/tools/llvm-objcopy/MachO/basic-little-endian-64-copy.test
M llvm/test/tools/llvm-objcopy/MachO/code_signature_lc.test
M llvm/test/tools/llvm-objcopy/MachO/remove-swift-symbols.test
M llvm/test/tools/llvm-objcopy/MachO/segments-vmsize.test
M llvm/test/tools/llvm-objcopy/MachO/symbol-table.test
M llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
M llvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.h
M llvm/unittests/MC/StringTableBuilderTest.cpp
Log Message:
-----------
[MC] Adjust StringTableBuilder for linked Mach-O binaries
LD64 emits string tables which start with a space and a zero byte.
This diff adjusts StringTableBuilder for linked Mach-O binaries to match LD64's behavior.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D89561
More information about the All-commits
mailing list