Home
last modified time | relevance | path

Searched refs:LdFlags (Results 1 – 16 of 16) sorted by relevance

/build/soong/cc/
Dlinker.go370 …flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLldflags}", hod))
372 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=none")
377 flags.Global.LdFlags = append(flags.Global.LdFlags,
381 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android")
385 flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLdflags}", hod))
390 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-undefined,dynamic_lookup")
393 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--no-undefined")
397 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ClangLldflags())
399 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.ClangLdflags())
405 flags.Local.LdFlags = append(flags.Local.LdFlags, linker.Properties.Host_ldlibs...)
[all …]
Dbinary.go243 flags.Global.LdFlags = append(flags.Global.LdFlags, "-pie")
260 if !inList("-shared", flags.Local.LdFlags) {
261 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
264 flags.Global.LdFlags = append(flags.Global.LdFlags,
294 flags.Global.LdFlags = append(flags.Global.LdFlags,
301 flags.Global.LdFlags = append(flags.Global.LdFlags,
311 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
314 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-headerpad_max_install_names")
331 flags.Local.LdFlags = append(flags.Local.LdFlags, "$$(cat "+deps.LinkerFlagsFile.String()+")")
336 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-dynamic-linker,"+flags.DynamicLinker)
[all …]
Dlto.go98 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoFlag)
104 flags.Local.LdFlags = append(flags.Local.LdFlags, cacheDirFormat+cacheDir)
110 flags.Local.LdFlags = append(flags.Local.LdFlags, cachePolicyFormat+policy)
116 flags.Local.LdFlags = append(flags.Local.LdFlags,
Dpgo.go98 flags.Local.LdFlags = append(flags.Local.LdFlags, "-u__llvm_profile_runtime")
105 flags.Local.LdFlags = append(flags.Local.LdFlags, profileSamplingFlag)
175 flags.Local.LdFlags = append(flags.Local.LdFlags, profileUseFlags...)
183 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,-no-warn-sample-unused=true")
Dcoverage.go135 flags.Local.LdFlags = append(flags.Local.LdFlags, "--coverage")
140 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,getenv")
142 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fprofile-instr-generate")
Dsanitize.go439 flags.Local.LdFlags = append(flags.Local.LdFlags,
459 flags.Local.LdFlags = append(flags.Local.LdFlags, asanLdflags...)
464 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-as-needed")
486 _, flags.Local.LdFlags = removeFromList("-flto", flags.Local.LdFlags)
488 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-lto")
494 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-sanitize-coverage=stack-depth")
511 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN`)
528 flags.Local.LdFlags = append(flags.Local.LdFlags, cfiLdflags...)
532 _, flags.Local.LdFlags = removeFromList("-fsanitize-cfi-cross-dso", flags.Local.LdFlags)
548 _, flags.Global.LdFlags = removeFromList("-Wl,--no-undefined", flags.Global.LdFlags)
[all …]
Dobject.go106 flags.Global.LdFlags = append(flags.Global.LdFlags, ctx.toolchain().ToolchainClangLdflags())
109 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-T,"+lds.String())
Dstl.go257 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind_llvm.a")
268 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind.a")
Dvendor_public_library.go127 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dutil.go66 globalLdFlags: strings.Join(in.Global.LdFlags, " "),
76 localLdFlags: strings.Join(in.Local.LdFlags, " "),
Dllndk_library.go140 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dfuzz.go118 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/../lib`)
119 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/lib`)
Dlibrary.go539 flags.Global.LdFlags = append(flags.Global.LdFlags, f...)
934 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-unexported_symbols_list,"+unexportedSymbol…
938 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_not_weak_list,"+forceNotWeak…
942 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_weak_list,"+forceWeakSymbols…
948 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlags)
960 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--out-implib="+importLibraryPath.String())
Dcompiler.go370 flags.Local.LdFlags = config.ClangFilterUnknownCflags(flags.Local.LdFlags)
386 flags.Global.LdFlags = append(flags.Global.LdFlags, target, gccPrefix)
Dndk_library.go350 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dcc.go175 LdFlags []string // Flags that apply to linker command lines member