• Home
  • Raw
  • Download

Lines Matching +full:win +full:- +full:llvm

2 # Use of this source code is governed by a BSD-style license that can be
11 import("//build/toolchain/win/win_toolchain_data.gni")
15 if (host_os == "win") {
22 if (host_os == "win") {
43 # C compilation targets determine the correct list of -D and -I flags based
94 "--exe",
96 "--header",
98 "--depfile",
100 "--output",
102 "--libclang-path",
110 "--wrap-static-fns",
119 "--ld-library-path",
125 args += [ "--bindgen-flags" ]
132 "--",
140 # places before the directory specified in `-isysroot`.
141 …# https://github.com/llvm/llvm-project/blob/699e0bed4bfead826e210025bf33e5a1997c018b/clang/lib/Too…
151 "-resource-dir",
155 # The `--sysroot` flag is not working as expected and gets ignored (we don't
156 # fully understand why, see b/328510249). But we add `-isystem` to point at
161 [ "-I" + rebase_path(sysroot + "/usr/include/", root_build_dir) ]
164 "-isystem",
173 # available in //build/toolchain/win/win_toolchain_data.gni. From there
189 args += [ "/clang:-fparse-all-comments" ]
191 args += [ "-fparse-all-comments" ]
194 # Default configs include "-fvisibility=hidden", and for some reason this
197 args += [ "-fvisibility=default" ]
203 args += [ "--driver-mode=cl" ]
206 # -fno-spell-checking
207 # -fallow-editor-placeholders
209 args += [ "-Wno-unknown-argument" ]
211 # Replace these two arguments with a version that clang-cl can parse.
213 "/clang:-fno-spell-checking",
214 "/clang:-fallow-editor-placeholders",
219 # LLVM searches for a default CFI ignorelist at (exactly)
221 # Even if we provide a custom -fsanitize-ignorelist, the absence
223 # it within third_party/llvm-build, but for bindgen our cwd
228 args += [ "-fno-sanitize-ignorelist" ]