feat: impl export-executable-symbols

This commit is contained in:
csmoe 2022-07-25 05:20:23 +00:00
parent babff2211e
commit 6674c94d15
7 changed files with 42 additions and 5 deletions

View file

@ -1282,6 +1282,8 @@ options! {
"emit a section containing stack size metadata (default: no)"),
emit_thin_lto: bool = (true, parse_bool, [TRACKED],
"emit the bc module with thin LTO info (default: yes)"),
export_executable_symbols: bool = (false, parse_bool, [TRACKED],
"export symbols from executables, as if they were dynamic libraries"),
fewer_names: Option<bool> = (None, parse_opt_bool, [TRACKED],
"reduce memory use by retaining fewer names within compilation artifacts (LLVM-IR) \
(default: no)"),