ELF2: Ignore some command line argument that clang passes to the linker.

llvm-svn: 248967
This commit is contained in:
Rui Ueyama 2015-10-01 00:24:54 +00:00
parent 59ba7b8cd1
commit 5d8ef2cbd8
1 changed files with 9 additions and 0 deletions

View File

@ -61,3 +61,12 @@ def entry : Separate<["--", "-"], "entry">, MetaVarName<"<entry>">,
def alias_entry : Separate<["-"], "e">,
Alias<entry>;
// Options listed below are silently ignored now.
def as_needed : Flag<["--"], "as-needed">;
def build_id : Flag<["--"], "build-id">;
def eh_frame_hdr : Flag<["--"], "eh-frame-hdr">;
def hash_style : Joined<["--"], "hash-style=">;
def m : Separate<["-"], "m">;
def no_as_needed : Flag<["--"], "no-as-needed">;
def z : Separate<["-"], "z">;