Revert "Switch the loader to a noexcept version of libc++"
Revert submission 2675705-use-prebuilt-libcxx
Reason for revert: breaks some Android tests (b/337120479, b/337121737, b/337122511)
Reverted changes: /q/submissionid:2675705-use-prebuilt-libcxx
Bug: 337120479
Bug: 337121737
Bug: 337122511
Change-Id: Ic5256fb1b4f09967ec29f36d8bdf96a16649ca05
diff --git a/linker/Android.bp b/linker/Android.bp
index 1ede380..e1a5a91 100644
--- a/linker/Android.bp
+++ b/linker/Android.bp
@@ -367,9 +367,7 @@
"liblinker_main",
"liblinker_malloc",
- // Use a version of libc++ built without exceptions, because accessing EH globals uses
- // ELF TLS, which is not supported in the loader.
- "libc++_static_noexcept",
+ "libc++_static",
"libc_nomalloc",
"libc_dynamic_dispatch",
"libm",
@@ -436,7 +434,7 @@
"linker_debuggerd_android.cpp",
],
static_libs: [
- "libc++demangle_noexcept",
+ "libc++demangle",
"libdebuggerd_handler_fallback",
],
},