[all-commits] [llvm/llvm-project] db1e84: [lld-macho] Handle error cases properly for -expor...
Greg McGary via All-commits
all-commits at lists.llvm.org
Tue Mar 16 21:21:09 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db1e845a9646fb191109588ad58ee9ea6ea160a2
https://github.com/llvm/llvm-project/commit/db1e845a9646fb191109588ad58ee9ea6ea160a2
Author: Greg McGary <gkm at fb.com>
Date: 2021-03-16 (Tue, 16 Mar 2021)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/SymbolTable.cpp
M lld/MachO/SymbolTable.h
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/export-options.s
Log Message:
-----------
[lld-macho] Handle error cases properly for -exported_symbol(s_list)
This fixes defects in D98223 [lld-macho] implement options -(un)exported_symbol(s_list):
* disallow export of hidden symbols
* verify that whitelisted literal names are defined in the symbol table
* reflect export-status overrides in `nlist` attribute of `N_EXT` or `N_PEXT`
Thanks to @thakis for raising these issues
Differential Revision: https://reviews.llvm.org/D98381
More information about the All-commits
mailing list