forked from OSchip/llvm-project
llvm-ld has a new option called -b to specify the name of bitcode output file, use that.
llvm-svn: 78282
This commit is contained in:
parent
87754848ab
commit
bdaaacad9a
|
|
@ -55,7 +55,7 @@ def llvm_ld_lto : Tool<[
|
||||||
(in_language "llvm-bitcode"),
|
(in_language "llvm-bitcode"),
|
||||||
(out_language "llvm-bitcode"),
|
(out_language "llvm-bitcode"),
|
||||||
(output_suffix "bc"),
|
(output_suffix "bc"),
|
||||||
(cmd_line "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -l std $INFILE -o $OUTFILE"),
|
(cmd_line "$CALL(GetBinDir)llvm-ld -L $CALL(GetStdLibsDir) -l std $INFILE -b $OUTFILE"),
|
||||||
(actions (case
|
(actions (case
|
||||||
(switch_on "g"), (append_cmd "-disable-opt"),
|
(switch_on "g"), (append_cmd "-disable-opt"),
|
||||||
(not_empty "Wo,"), (unpack_values "Wo,"))),
|
(not_empty "Wo,"), (unpack_values "Wo,"))),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue