[all-commits] [llvm/llvm-project] a3d95a: [lld-macho] Add basic symbol table output
Jez Ng via All-commits
all-commits at lists.llvm.org
Mon Apr 27 13:35:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a3d95a50ee3397c89327fce6983624446cd8e9d7
https://github.com/llvm/llvm-project/commit/a3d95a50ee3397c89327fce6983624446cd8e9d7
Author: Jez Ng <jezng at fb.com>
Date: 2020-04-27 (Mon, 27 Apr 2020)
Changed paths:
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/Writer.cpp
A lld/test/MachO/symtab.s
Log Message:
-----------
[lld-macho] Add basic symbol table output
This diff implements basic support for writing a symbol table.
- Attributes are loosely supported for extern symbols and not at all for
other types
Immediate future work will involve implementing section merging.
Initial version by Kellie Medlin <kelliem at fb.com>
Differential Revision: https://reviews.llvm.org/D76742
Commit: 9598778bd1910e77ccd399f2c9e979c8ecf98e55
https://github.com/llvm/llvm-project/commit/9598778bd1910e77ccd399f2c9e979c8ecf98e55
Author: Jez Ng <jezng at fb.com>
Date: 2020-04-27 (Mon, 27 Apr 2020)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/Options.td
M lld/MachO/SyntheticSections.cpp
M lld/MachO/SyntheticSections.h
M lld/MachO/Writer.cpp
R lld/test/MachO/Inputs/goodbye-dylib.yaml
R lld/test/MachO/Inputs/hello-dylib.yaml
A lld/test/MachO/Inputs/libgoodbye.s
A lld/test/MachO/Inputs/libhello.s
A lld/test/MachO/dylib.s
M lld/test/MachO/dylink.s
M lld/test/MachO/load-commands.s
M lld/test/MachO/symtab.s
Log Message:
-----------
[lld-macho] Add support for emitting dylibs with a single symbol
Summary:
Add logic for emitting the correct set of load commands and segments
when `-dylib` is passed.
I haven't gotten to implementing a real export trie yet, so we can only
emit a single symbol, but it's enough to replace the YAML test files
introduced in D76252.
Differential Revision: https://reviews.llvm.org/D76908
Compare: https://github.com/llvm/llvm-project/compare/e4872d7f08a1...9598778bd191
More information about the All-commits
mailing list