]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_utilities/lib/debugging_internal.h
Security-58286.240.4.tar.gz
[apple/security.git] / OSX / libsecurity_utilities / lib / debugging_internal.h
index a33ee7c2c70c1fdc15aff933a7c5aea36a615703..334f7123bd5ebddacc47db6d91d01f9faea6c390 100644 (file)
@@ -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 <security_utilities/utilities_dtrace.h>
 
 // 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