mac: Stop using thin archives in lld builds for now
Thin archives seem to confuse lldb :( Bug: 1221615 Change-Id: I65280dc83d701c67ef7e3255c33975242bd0264d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2973236 Commit-Queue: Nico Weber <thakis@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Leonard Grey <lgrey@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#893972}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
ad72fca9e9
commit
a0e674cfd5
@ -1848,7 +1848,9 @@ config("export_dynamic") {
|
||||
config("thin_archive") {
|
||||
# The macOS and iOS default linker ld64 does not support reading thin
|
||||
# archives.
|
||||
if ((is_posix && !is_nacl && (!is_apple || use_lld)) || is_fuchsia) {
|
||||
# TODO(crbug.com/1221615): Enable on is_apple if use_lld once that no longer
|
||||
# confuses lldb.
|
||||
if ((is_posix && !is_nacl && !is_apple) || is_fuchsia) {
|
||||
arflags = [ "-T" ]
|
||||
} else if (is_win && use_lld) {
|
||||
arflags = [ "/llvmlibthin" ]
|
||||
|
Reference in New Issue
Block a user