[all-commits] [llvm/llvm-project] b2c53a: [lld-macho] Implement -hidden-l
Daniel Bertalan via All-commits
all-commits at lists.llvm.org
Mon Jul 25 16:47:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2c53a9217cf346824fb56b19b0742e2eb276a19
https://github.com/llvm/llvm-project/commit/b2c53a9217cf346824fb56b19b0742e2eb276a19
Author: Daniel Bertalan <dani at danielbertalan.dev>
Date: 2022-07-26 (Tue, 26 Jul 2022)
Changed paths:
M lld/MachO/Driver.cpp
M lld/MachO/Options.td
M lld/test/MachO/load-hidden.s
Log Message:
-----------
[lld-macho] Implement -hidden-l
Similarly to -load_hidden, this flag instructs the linker to not export
symbols from the specified archive. While that flag takes a path,
-hidden-l looks for the specified library name in the search path.
The test changes are needed because -hidden-lfoo resolves to libfoo.a,
not foo.a.
Differential Revision: https://reviews.llvm.org/D130529
More information about the All-commits
mailing list