[PATCH] D68357: [libc++abi] Do not export some implementation-detail functions

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 07:23:37 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL373602: [libc++abi] Do not export some implementation-detail functions (authored by ldionne, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D68357?vs=222913&id=223013#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68357/new/

https://reviews.llvm.org/D68357

Files:
  libcxxabi/trunk/lib/itanium-base.exp
  libcxxabi/trunk/src/cxa_exception.h


Index: libcxxabi/trunk/src/cxa_exception.h
===================================================================
--- libcxxabi/trunk/src/cxa_exception.h
+++ libcxxabi/trunk/src/cxa_exception.h
@@ -23,9 +23,9 @@
 static const uint64_t kOurDependentExceptionClass = 0x434C4E47432B2B01; // CLNGC++\1
 static const uint64_t get_vendor_and_language     = 0xFFFFFFFFFFFFFF00; // mask for CLNGC++
 
-uint64_t __getExceptionClass  (const _Unwind_Exception*);
-void     __setExceptionClass  (      _Unwind_Exception*, uint64_t);
-bool     __isOurExceptionClass(const _Unwind_Exception*);
+_LIBCXXABI_HIDDEN uint64_t __getExceptionClass  (const _Unwind_Exception*);
+_LIBCXXABI_HIDDEN void     __setExceptionClass  (      _Unwind_Exception*, uint64_t);
+_LIBCXXABI_HIDDEN bool     __isOurExceptionClass(const _Unwind_Exception*);
 
 struct _LIBCXXABI_HIDDEN __cxa_exception {
 #if defined(__LP64__) || defined(_LIBCXXABI_ARM_EHABI)
Index: libcxxabi/trunk/lib/itanium-base.exp
===================================================================
--- libcxxabi/trunk/lib/itanium-base.exp
+++ libcxxabi/trunk/lib/itanium-base.exp
@@ -366,8 +366,3 @@
 __ZSt15get_new_handlerv
 __ZSt15set_new_handlerPFvvE
 __ZSt9terminatev
-
-# Misc
-__ZN10__cxxabiv119__getExceptionClassEPK17_Unwind_Exception
-__ZN10__cxxabiv119__setExceptionClassEP17_Unwind_Exceptiony
-__ZN10__cxxabiv121__isOurExceptionClassEPK17_Unwind_Exception


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68357.223013.patch
Type: text/x-patch
Size: 1401 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/a5a31709/attachment.bin>


More information about the llvm-commits mailing list