Home
last modified time | relevance | path

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

/build/soong/cc/
Dlinker.go477 …flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLldflags}", hod))
479 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=none")
486 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android+relr")
488 flags.Global.LdFlags = append(flags.Global.LdFlags,
492 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android")
496 flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLdflags}", hod))
501 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-undefined,dynamic_lookup")
504 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--no-undefined")
508 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Lldflags())
510 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Ldflags())
[all …]
Dlto.go104 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoCFlag)
105 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoLdFlag)
115 flags.Local.LdFlags = append(flags.Local.LdFlags, cacheDirFormat+cacheDir)
121 flags.Local.LdFlags = append(flags.Local.LdFlags, cachePolicyFormat+policy)
127 flags.Local.LdFlags = append(flags.Local.LdFlags,
Dcoverage.go154 flags.Local.LdFlags = append(flags.Local.LdFlags, "--coverage")
159 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,getenv")
161 flags.Local.LdFlags = append(flags.Local.LdFlags, profileInstrFlag)
163 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm=-runtime-counter-relocation")
168 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,open")
Dbinary.go258 flags.Global.LdFlags = append(flags.Global.LdFlags, "-pie")
275 if !inList("-shared", flags.Local.LdFlags) {
276 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
279 flags.Global.LdFlags = append(flags.Global.LdFlags,
309 flags.Global.LdFlags = append(flags.Global.LdFlags,
316 flags.Global.LdFlags = append(flags.Global.LdFlags,
326 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
329 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-headerpad_max_install_names")
349 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-dynamic-linker,"+flags.DynamicLinker)
351 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-dynamic-linker")
Dsanitize.go594 flags.Local.LdFlags = append(flags.Local.LdFlags,
609 flags.Local.LdFlags = append(flags.Local.LdFlags, asanLdflags...)
618 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-as-needed")
639 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,"+flag)
651 _, flags.Local.LdFlags = removeFromList("-flto", flags.Local.LdFlags)
653 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-lto")
659 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-sanitize-coverage=stack-depth")
673 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN`)
693 flags.Local.LdFlags = append(flags.Local.LdFlags, cfiLdflags...)
697 _, flags.Local.LdFlags = removeFromList("-fsanitize-cfi-cross-dso", flags.Local.LdFlags)
[all …]
Dpgo.go96 flags.Local.LdFlags = append(flags.Local.LdFlags, profileInstrumentFlag)
166 flags.Local.LdFlags = append(flags.Local.LdFlags, profileUseFlags...)
174 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,-no-warn-sample-unused=true")
Dafdo.go119 flags.Local.LdFlags = append(flags.Local.LdFlags, profileUseFlag)
120 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,-no-warn-sample-unused=true")
Dobject.go234 flags.Global.LdFlags = append(flags.Global.LdFlags, ctx.toolchain().ToolchainLdflags())
237 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-T,"+lds.String())
Dstl.go231 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind.a")
Dfuzz.go81 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/../lib`)
82 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/lib`)
Dutil.go67 globalLdFlags: strings.Join(in.Global.LdFlags, " "),
77 localLdFlags: strings.Join(in.Local.LdFlags, " "),
Dcompiler.go448 flags.Local.LdFlags = config.ClangFilterUnknownCflags(flags.Local.LdFlags)
462 flags.Global.LdFlags = append(flags.Global.LdFlags, target)
Dlibrary.go947 flags.Global.LdFlags = append(flags.Global.LdFlags, f...)
1434 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-unexported_symbols_list,"+unexportedSymbol…
1438 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_not_weak_list,"+forceNotWeak…
1442 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_weak_list,"+forceWeakSymbols…
1448 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlags)
1460 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--out-implib="+importLibraryPath.String())
Dndk_library.go506 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dcc.go191 LdFlags []string // Flags that apply to linker command lines member