forked from OSchip/llvm-project
Really define --export-dynamic-symbol= as an alias to --export-dynamic-symbol.
Thanks to Sean for pointing it out. llvm-svn: 270660
This commit is contained in:
parent
02fcf11a9c
commit
c789b631f3
|
@ -190,7 +190,8 @@ def alias_discard_locals_X: Flag<["-"], "X">, Alias<discard_locals>;
|
||||||
def alias_dynamic_list: Joined<["--", "-"], "dynamic-list=">, Alias<dynamic_list>;
|
def alias_dynamic_list: Joined<["--", "-"], "dynamic-list=">, Alias<dynamic_list>;
|
||||||
def alias_entry_e : JoinedOrSeparate<["-"], "e">, Alias<entry>;
|
def alias_entry_e : JoinedOrSeparate<["-"], "e">, Alias<entry>;
|
||||||
def alias_export_dynamic_E: Flag<["-"], "E">, Alias<export_dynamic>;
|
def alias_export_dynamic_E: Flag<["-"], "E">, Alias<export_dynamic>;
|
||||||
def alias_export_dynamic_symbol : Joined<["--", "-"], "export-dynamic-symbol=">;
|
def alias_export_dynamic_symbol : Joined<["--", "-"], "export-dynamic-symbol=">,
|
||||||
|
Alias<export_dynamic_symbol>;
|
||||||
def alias_fini_fini : Joined<["-"], "fini=">, Alias<fini>;
|
def alias_fini_fini : Joined<["-"], "fini=">, Alias<fini>;
|
||||||
def alias_hash_style_hash_style : Joined<["--", "-"], "hash-style=">, Alias<hash_style>;
|
def alias_hash_style_hash_style : Joined<["--", "-"], "hash-style=">, Alias<hash_style>;
|
||||||
def alias_init_init : Joined<["-"], "init=">, Alias<init>;
|
def alias_init_init : Joined<["-"], "init=">, Alias<init>;
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
## And now using --export-dynamic-symbol.
|
## And now using --export-dynamic-symbol.
|
||||||
# RUN: ld.lld --export-dynamic-symbol foo1 %t %t2.so -o %t.exe
|
# RUN: ld.lld --export-dynamic-symbol foo1 %t %t2.so -o %t.exe
|
||||||
# RUN: llvm-readobj -dyn-symbols %t.exe | FileCheck %s
|
# RUN: llvm-readobj -dyn-symbols %t.exe | FileCheck %s
|
||||||
|
# RUN: ld.lld --export-dynamic-symbol=foo1 %t %t2.so -o %t.exe
|
||||||
|
# RUN: llvm-readobj -dyn-symbols %t.exe | FileCheck %s
|
||||||
|
|
||||||
# CHECK: DynamicSymbols [
|
# CHECK: DynamicSymbols [
|
||||||
# CHECK-NEXT: Symbol {
|
# CHECK-NEXT: Symbol {
|
||||||
|
|
Loading…
Reference in New Issue