Home
last modified time | relevance | path

Searched refs:CFlags (Results 1 – 19 of 19) sorted by relevance

/build/soong/cc/
Dsanitize.go458 flags.Local.CFlags = append(flags.Local.CFlags, asanCflags...)
466 flags.Local.CFlags = append(flags.Local.CFlags, "-mllvm", "-asan-globals=0")
479 flags.Local.CFlags = append(flags.Local.CFlags, hwasanCflags...)
483 flags.Local.CFlags = append(flags.Local.CFlags, "-fsanitize=fuzzer-no-link")
487 _, flags.Local.CFlags = removeFromList("-flto", flags.Local.CFlags)
489 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-lto")
495 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-sanitize-coverage=stack-depth")
498 flags.Local.CFlags = append(flags.Local.CFlags, "-fno-experimental-new-pass-manager")
502 flags.Local.CFlags = append(flags.Local.CFlags, "-U_FORTIFY_SOURCE")
521 flags.Local.CFlags = append(flags.Local.CFlags, cfiCflags...)
[all …]
Dcompiler.go285 flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Cflags)...)
360 flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Release.Cflags)...)
365 flags.Local.CFlags = config.ClangFilterUnknownCflags(flags.Local.CFlags)
366 flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Clang_cflags)...)
384 flags.Global.CFlags = append(flags.Global.CFlags, target, gccPrefix)
448 flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Target.Vendor.Cflags)...)
452 …flags.Local.CFlags = append(flags.Local.CFlags, esc(compiler.Properties.Target.Recovery.Cflags)...)
468 flags.Global.CFlags = append(flags.Global.CFlags, "-DANDROID_STRICT")
514 if inList("-Wno-error", flags.Local.CFlags) || inList("-Wno-error", flags.Local.CppFlags) {
516 } else if !inList("-Werror", flags.Local.CFlags) && !inList("-Werror", flags.Local.CppFlags) {
[all …]
Dpgo.go92 flags.Local.CFlags = append(flags.Local.CFlags, props.Pgo.Cflags...)
94 flags.Local.CFlags = append(flags.Local.CFlags, profileInstrumentFlag)
102 flags.Local.CFlags = append(flags.Local.CFlags, props.Pgo.Cflags...)
104 flags.Local.CFlags = append(flags.Local.CFlags, profileSamplingFlag)
174 flags.Local.CFlags = append(flags.Local.CFlags, profileUseFlags...)
Dtest.go245 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_HAS_STD_STRING")
247 flags.Local.CFlags = append(flags.Local.CFlags, "-O0", "-g")
251 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_WINDOWS")
253 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_LINUX")
255 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_MAC")
258 flags.Local.CFlags = append(flags.Local.CFlags, "-DGTEST_OS_LINUX_ANDROID")
Dsabi.go73 …flags.Local.ToolingCFlags = filterOutWithPrefix(flags.Local.CFlags, config.ClangLibToolingUnknownC…
74 …flags.Global.ToolingCFlags = filterOutWithPrefix(flags.Global.CFlags, config.ClangLibToolingUnknow…
Dndk_library.go243 flags.Global.CFlags = append(flags.Global.CFlags,
257 if inList("-fvisibility=hidden", flags.Local.CFlags) {
258 flags.Local.CFlags = append(flags.Local.CFlags, "-fvisibility=default")
Dlto.go85 if inList("-fsanitize=fuzzer-no-link", flags.Local.CFlags) {
97 flags.Local.CFlags = append(flags.Local.CFlags, ltoFlag)
Dutil.go61 globalCFlags: strings.Join(in.Global.CFlags, " "),
71 localCFlags: strings.Join(in.Local.CFlags, " "),
Dproto.go117 flags.Local.CFlags = append(flags.Local.CFlags, "-DGOOGLE_PROTOBUF_NO_RTTI")
Dstl.go264 flags.Local.CFlags = append(flags.Local.CFlags, "-isystem "+ndkSrcRoot.String())
Dcoverage.go93 flags.Local.CFlags = append(flags.Local.CFlags, "-Wno-frame-larger-than=", "-O0")
Dcompdb.go157 args = append(args, expandAllVars(ctx, ccModule.flags.Global.CFlags)...)
158 args = append(args, expandAllVars(ctx, ccModule.flags.Local.CFlags)...)
Dccdeps.go216 dpInfo.Global_C_flags = parseCompilerCCParameters(ctx, ccModule.flags.Global.CFlags)
217 dpInfo.Local_C_flags = parseCompilerCCParameters(ctx, ccModule.flags.Local.CFlags)
Dcmakelists.go174 globalCParameters := parseCompilerParameters(ccModule.flags.Global.CFlags, ctx, f)
178 localCParameters := parseCompilerParameters(ccModule.flags.Local.CFlags, ctx, f)
Dlibrary.go502 flags.Global.CFlags = append(flags.Global.CFlags, "-fPIC")
506 flags.Local.CFlags = append(flags.Local.CFlags, library.StaticProperties.Static.Cflags...)
508 flags.Local.CFlags = append(flags.Local.CFlags, library.SharedProperties.Shared.Cflags...)
571 flags.Local.CFlags = removeInclude(flags.Local.CFlags)
Dcflag_artifacts.go145 cflags := ccModule.flags.Local.CFlags
Dlibrary_test.go186 if !inList("-DGOOGLE_PROTOBUF_NO_RTTI", libfoo.flags.Local.CFlags) {
Dbinary.go251 flags.Global.CFlags = append(flags.Global.CFlags, "-fPIE")
Dcc.go170 CFlags []string // Flags that apply to C and C++ source files member
1523 flags.Local.CFlags, _ = filterList(flags.Local.CFlags, config.IllegalFlags)
1546 ctx.Variable(pctx, "cflags", strings.Join(flags.Local.CFlags, " "))
1549 flags.Local.CFlags = []string{"$cflags"}