Commit 1d7de3f1 authored by Rohit Rao's avatar Rohit Rao Committed by Commit Bot

Disable export_libcxxabi_from_executables when building on iOS.

-Wl,-undefined,dynamic_lookup is deprecated on iOS Simulator, which
prevents us from linking libc++abi into the main executable and
exporting symbols for shared libraries to use. Instead, disallow
export_libcxxabi_from_executables on iOS, since it is effectively
unsupported.

BUG=1095852

Change-Id: I35204f9ccf668941f9e058aa05ab3caa9eaf376b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2250218Reviewed-by: default avatarThomas Anderson <thomasanderson@chromium.org>
Commit-Queue: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779959}
parent 4628d287
...@@ -58,7 +58,7 @@ declare_args() { ...@@ -58,7 +58,7 @@ declare_args() {
# libc++abi needs to be exported from executables to be picked up by shared # libc++abi needs to be exported from executables to be picked up by shared
# libraries on certain instrumented builds. # libraries on certain instrumented builds.
export_libcxxabi_from_executables = export_libcxxabi_from_executables =
use_custom_libcxx && !is_win && !is_component_build && use_custom_libcxx && !is_ios && !is_win && !is_component_build &&
(is_asan || is_ubsan_vptr) (is_asan || is_ubsan_vptr)
# On Android, many shared libraries get loaded from the context of a JRE. In # On Android, many shared libraries get loaded from the context of a JRE. In
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment