X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/fa7225c82381bac4432a6edf16f53b5370238d85..0d4552ce43ff8bf2e8666a9c5c44c3590eb117a8:/OSX/libsecurity_utilities/lib/debugging_internal.h diff --git a/OSX/libsecurity_utilities/lib/debugging_internal.h b/OSX/libsecurity_utilities/lib/debugging_internal.h index a33ee7c2..334f7123 100644 --- a/OSX/libsecurity_utilities/lib/debugging_internal.h +++ b/OSX/libsecurity_utilities/lib/debugging_internal.h @@ -80,7 +80,8 @@ string typeName() #undef DEBUGGING #if !defined(NDEBUG) # define DEBUGGING 1 -# define DEBUGDUMP 1 +// No more debugdump, it emits thread-unsafe buggy code which hampers actual debugging, ironically enough +// # define DEBUGDUMP 1 #else //NDEBUG # define DEBUGGING 0 #endif //NDEBUG @@ -125,8 +126,8 @@ typedef const void *DTException; #include // The following are deprecated functions. Don't use them (but they need to be here for symbol reasons). -void secdebug_internal(const char* scope, const char* format, ...); -void secdebugfunc_internal(const char* scope, const char* functionname, const char* format, ...); +__attribute__((visibility("default"))) void secdebug_internal(const char* scope, const char* format, ...); +__attribute__((visibility("default"))) void secdebugfunc_internal(const char* scope, const char* functionname, const char* format, ...); __END_DECLS