Use LLD for Darwin host binaries
Test: m adb Bug: 236924555 Change-Id: I4c793eb93af37fd7fe16991d20fcfcc5001c5d18
This commit is contained in:
@@ -436,11 +436,6 @@ func (linker *baseLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
|
||||
}
|
||||
|
||||
func (linker *baseLinker) useClangLld(ctx ModuleContext) bool {
|
||||
// Clang lld is not ready for for Darwin host executables yet.
|
||||
// See https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
|
||||
if ctx.Darwin() {
|
||||
return false
|
||||
}
|
||||
if linker.Properties.Use_clang_lld != nil {
|
||||
return Bool(linker.Properties.Use_clang_lld)
|
||||
}
|
||||
|
Reference in New Issue
Block a user