aboutsummaryrefslogtreecommitdiff
path: root/libcxxabi/lib
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-10-03 14:24:53 +0000
committerLouis Dionne <ldionne@apple.com>2019-10-03 14:24:53 +0000
commit6f9459f7fe7db16b10ad1700fbb5c833e3dd4fec (patch)
tree22ebebbefbdf934f1976920906df694fd896d311 /libcxxabi/lib
parentf6c34de11767fce0c6503925bcef7228f36c6842 (diff)
downloadllvm-6f9459f7fe7db16b10ad1700fbb5c833e3dd4fec.zip
llvm-6f9459f7fe7db16b10ad1700fbb5c833e3dd4fec.tar.gz
llvm-6f9459f7fe7db16b10ad1700fbb5c833e3dd4fec.tar.bz2
[libc++abi] Do not export some implementation-detail functions
Summary: Those functions started being mistakenly exported from the libc++abi shared library after commit r344152 in 2018. Removing these symbols is technically an ABI break. However, they are not part of the C++ ABI, they haven't ever been re-exported from libc++, and they are not declared in any public header, so it's very unlikely that calls to these functions exist out there. Also, the functions have reserved names, so any impacted user would have to have tried really hard being broken by this removal. Note that avoiding this kind of problem is exactly why we're now controlling exported symbols explicitly with a textual list. Also note that applying the hidden visibility attribute is necessary because the list of exported symbols is only used on Apple platforms for the time being. Reviewers: phosek, mclow.lists, EricWF Subscribers: christof, jkorous, dexonsmith, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D68357 llvm-svn: 373602
Diffstat (limited to 'libcxxabi/lib')
-rw-r--r--libcxxabi/lib/itanium-base.exp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxxabi/lib/itanium-base.exp b/libcxxabi/lib/itanium-base.exp
index ff0f812..c08c711 100644
--- a/libcxxabi/lib/itanium-base.exp
+++ b/libcxxabi/lib/itanium-base.exp
@@ -366,8 +366,3 @@ __ZSt14set_unexpectedPFvvE
__ZSt15get_new_handlerv
__ZSt15set_new_handlerPFvvE
__ZSt9terminatev
-
-# Misc
-__ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception
-__ZN10__cxxabiv119__setExceptionClassEP17_Unwind_Exceptiony
-__ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception