Home
last modified time | relevance | path

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

/build/soong/cc/
Dlinker.go509 …flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLldflags}", hod))
511 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=none")
518 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android+relr")
520 flags.Global.LdFlags = append(flags.Global.LdFlags,
524 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--pack-dyn-relocs=android")
528 flags.Global.LdFlags = append(flags.Global.LdFlags, fmt.Sprintf("${config.%sGlobalLdflags}", hod))
533 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-undefined,dynamic_lookup")
536 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,--no-undefined")
540 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Lldflags())
542 flags.Global.LdFlags = append(flags.Global.LdFlags, toolchain.Ldflags())
[all …]
Dbinary.go254 flags.Global.LdFlags = append(flags.Global.LdFlags, "-pie")
271 if !inList("-shared", flags.Local.LdFlags) {
272 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
275 flags.Global.LdFlags = append(flags.Global.LdFlags,
305 flags.Global.LdFlags = append(flags.Global.LdFlags,
312 flags.Global.LdFlags = append(flags.Global.LdFlags,
322 flags.Global.LdFlags = append(flags.Global.LdFlags, "-static")
325 flags.Global.LdFlags = append(flags.Global.LdFlags, "-Wl,-headerpad_max_install_names")
345 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-dynamic-linker,"+flags.DynamicLinker)
347 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-dynamic-linker")
Dcoverage.go185 flags.Local.LdFlags = append(flags.Local.LdFlags, "--coverage")
190 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,getenv")
193 flags.Local.LdFlags = append(flags.Local.LdFlags, profileInstrFlag)
195 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm=-runtime-counter-relocation")
201 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--wrap,open")
Dlto.go158 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoCFlags...)
159 flags.Local.LdFlags = append(flags.Local.LdFlags, ltoLdFlags...)
Dsanitize.go780 flags.Local.LdFlags = append(flags.Local.LdFlags, asanLdflags...)
789 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--no-as-needed")
810 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,"+flag)
829 _, flags.Local.LdFlags = removeFromList("-flto", flags.Local.LdFlags)
831 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-lto")
837 flags.Local.LdFlags = append(flags.Local.LdFlags, "-fno-sanitize-coverage=stack-depth")
851 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN`)
872 flags.Local.LdFlags = append(flags.Local.LdFlags, cfiLdflags...)
876 _, flags.Local.LdFlags = removeFromList("-fsanitize-cfi-cross-dso", flags.Local.LdFlags)
883 flags.Local.LdFlags = append(flags.Local.LdFlags, memtagStackCommonFlags...)
[all …]
Dorderfile.go129 flags.Local.LdFlags = append(flags.Local.LdFlags, orderfileProfileFlag)
144 flags.Local.LdFlags = append(flags.Local.LdFlags, loadFlags...)
Dobject.go136 flags.Global.LdFlags = append(flags.Global.LdFlags, ctx.toolchain().ToolchainLdflags())
139 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-T,"+lds.String())
Dstl.go225 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--exclude-libs,libunwind.a")
Dutil.go46 globalLdFlags: strings.Join(in.Global.LdFlags, " "),
56 localLdFlags: strings.Join(in.Local.LdFlags, " "),
Dafdo.go100 …flags.Local.LdFlags = append([]string{profileUseFlag, "-Wl,-mllvm,-no-warn-sample-unused=true"}, f…
Dfuzz.go156 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/`+subdir)
163 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/../../`+subdir)
165 flags.Local.LdFlags = append(flags.Local.LdFlags, `-Wl,-rpath,\$$ORIGIN/../`+subdir)
Dcompiler.go496 flags.Local.LdFlags = config.ClangFilterUnknownCflags(flags.Local.LdFlags)
516 flags.Global.LdFlags = append(flags.Global.LdFlags, target)
688 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-mllvm,-enable-ml-inliner=release")
Dlibrary.go499 flags.Global.LdFlags = append(flags.Global.LdFlags, f...)
1038 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-unexported_symbols_list,"+unexportedSymbol…
1042 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_not_weak_list,"+forceNotWeak…
1046 …flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,-force_symbols_weak_list,"+forceWeakSymbols…
1052 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlags)
1064 flags.Local.LdFlags = append(flags.Local.LdFlags, "-Wl,--out-implib="+importLibraryPath.String())
Dndk_library.go507 flags.Local.LdFlags = append(flags.Local.LdFlags, linkerScriptFlag)
Dtest.go366 flags.Global.LdFlags = append(flags.Global.LdFlags, `-Wl,-rpath,\$$ORIGIN`)
Dcc.go193 LdFlags []string member
233 LdFlags []string // Flags that apply to linker command lines member
2044 flags.Local.LdFlags = append(flags.Local.LdFlags, deps.LdFlags...)
3201 depPaths.LdFlags = append(depPaths.LdFlags,