aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/stdexcept.cpp
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2025-05-28 12:04:51 -0400
committerGitHub <noreply@github.com>2025-05-28 12:04:51 -0400
commitc3656afdf111901977792c1d9589cb32ee1b6015 (patch)
tree6ab81b6ed98c52d5bdfe7858a4d4b637d280d0c5 /libcxx/src/stdexcept.cpp
parent617cfedc43ae93960633909c00feed5345eeac6a (diff)
downloadllvm-c3656afdf111901977792c1d9589cb32ee1b6015.zip
llvm-c3656afdf111901977792c1d9589cb32ee1b6015.tar.gz
llvm-c3656afdf111901977792c1d9589cb32ee1b6015.tar.bz2
Revert "[libc++] Introduce ABI sensitive areas to avoid requiring _LIBCPP_HIDE_FROM_ABI everywhere (#131156)" (#141756)
This reverts commit c861fe8a71e64f3d2108c58147e7375cd9314521. Unfortunately, this use of hidden visibility attributes causes user-defined specializations of standard-library types to also be marked hidden by default, which is incorrect. See discussion thread on #131156. ...and also reverts the follow-up commits: Revert "[libc++] Add explicit ABI annotations to functions from the block runtime declared in <__functional/function.h> (#140592)" This reverts commit 3e4c9dc299c35155934688184319d391b298fff7. Revert "[libc++] Make ABI annotations explicit for windows-specific code (#140507)" This reverts commit f73287e623a6c2e4a3485832bc3e10860cd26eb5. Revert "[libc++][NFC] Replace a few "namespace std" with the correct macro (#140510)" This reverts commit 1d411f27c769a32cb22ce50b9dc4421e34fd40dd.
Diffstat (limited to 'libcxx/src/stdexcept.cpp')
-rw-r--r--libcxx/src/stdexcept.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/src/stdexcept.cpp b/libcxx/src/stdexcept.cpp
index 31f60d5..0ee438b 100644
--- a/libcxx/src/stdexcept.cpp
+++ b/libcxx/src/stdexcept.cpp
@@ -18,7 +18,6 @@
#endif
_LIBCPP_BEGIN_NAMESPACE_STD
-_LIBCPP_BEGIN_EXPLICIT_ABI_ANNOTATIONS
void __throw_runtime_error(const char* msg) {
#if _LIBCPP_HAS_EXCEPTIONS
@@ -28,5 +27,4 @@ void __throw_runtime_error(const char* msg) {
#endif
}
-_LIBCPP_END_EXPLICIT_ABI_ANNOTATIONS
_LIBCPP_END_NAMESPACE_STD