• Home
  • Raw
  • Download

Lines Matching +full:llvm +full:- +full:output +full:-

2 # -*- coding: utf-8 -*-
8 # http://www.apache.org/licenses/LICENSE-2.0
35 rebuild_string = "-D" + invoker.rebuild_define
146 lib_switch = "-l"
147 lib_dir_switch = "-L"
153 depfile = "{{output}}.d"
154 command = "$cc" + " -MMD" + " -MF" + " $depfile" + " ${rebuild_string}" +
157 " -c {{source}}" + " -o {{output}}"
159 description = "CC {{output}}"
164 depfile = "{{output}}.d"
165 command = "$cxx" + " -MMD" + " -MF" + " $depfile" + " ${rebuild_string}" +
168 " -c {{source}}" + " -o {{output}}"
170 description = "CXX {{output}}"
176 depfile = "{{output}}.d"
177 command = "$asm" + " -MMD" + " -MF" + " $depfile" + " ${rebuild_string}" +
179 " ${extra_asmflags}" + " -c {{source}}" + " -o {{output}}"
181 description = "ASM {{output}}"
187 # AIX does not support either -D (deterministic output) or response
189 command = "$ar" + " -X64" + " {{arflags}}" + " -r" + " -c" + " -s" +
190 " {{output}}" + " {{inputs}}"
192 rspfile = "{{output}}.rsp"
194 command = "\"$ar\"" + " {{arflags}}" + " -r" + " -c" + " -s" + " -D" +
195 " {{output}}" + " @\"$rspfile\""
198 # Remove the output file first so that ar doesn't try to modify the
200 command = "rm -f {{output}}" + " && $command"
203 # adds -T to arflags.
204 description = "AR {{output}}"
232 link_command = "$ld" + " -shared" + " {{ldflags}}" + " ${extra_ldflags}" +
233 " -o \"$unstripped_sofile\"" + " @\"$rspfile\""
235 link_command = "$link_command" + " -Wl,-soname=\"$soname\""
239 " -Wl,--out-implib,{{root_out_dir}}/lib.unstripped/$libfile"
244 strip_switch = "--strip=${invoker.strip} "
254 " --sofile=\"$unstripped_sofile\"" + " --output=\"$sofile\""
256 command = "$command" + " --libfile=\"$libfile\""
258 command = "$command" + " -- $link_command"
260 …rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive $solink_libs_s…
278 # Tell GN about the output files. It will link to the sofile
309 command = "$ld" + " -shared" + " {{ldflags}}" + " ${extra_ldflags}" +
310 " -o \"$unstripped_sofile\"" + " -Wl,-soname=\"$soname\"" +
315 "${invoker.strip}" + " -o \"$sofile\"" + " \"$unstripped_sofile\""
318 …rspfile_content = "-Wl,--whole-archive {{inputs}} {{solibs}} -Wl,--no-whole-archive $solink_libs_s…
365 # the "--start-group .. --end-group" feature isn't available on the aix ld.
366 start_group_flag = "-Wl,--start-group"
367 end_group_flag = "-Wl,--end-group "
373 … "$clang_base_path/lib/clang/$clang_version/lib/aarch64-linux-ohos/libclang_rt.asan.so",
377 … "$clang_base_path/lib/clang/$clang_version/lib/arm-linux-ohos/libclang_rt.asan.so",
382 " -o \"$unstripped_outfile\"" + " $libs_section_prefix" +
390 strip_switch = "--strip=\"${invoker.strip}\" --unstripped-file=\"$unstripped_outfile\""
394 "$strip_switch --clang_rt_dso_path=\"$_clang_rt_dso_full_path\""
400 "$python_path" + " \"$link_wrapper\"" + " --output=\"$outfile\"" +
401 " $strip_switch" + " -- $link_command"
433 # This is a shorthand for gcc_toolchain instances based on the Chromium-built
436 # cross-compile case. Note that for a cross-compile case this toolchain
437 # requires a config to pass the appropriate -target option, or else it will
446 ar = "${prefix}/llvm-ar"
448 strip = "${prefix}/llvm-strip"