summaryrefslogtreecommitdiffstats
path: root/sandbox/linux/seccomp/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/linux/seccomp/debug.h')
-rw-r--r--sandbox/linux/seccomp/debug.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sandbox/linux/seccomp/debug.h b/sandbox/linux/seccomp/debug.h
index 728c55c..4b94f8f 100644
--- a/sandbox/linux/seccomp/debug.h
+++ b/sandbox/linux/seccomp/debug.h
@@ -16,7 +16,11 @@ class Debug {
// If debugging is enabled, write a message to stderr.
static void message(const char* msg)
#ifndef NDEBUG
- asm("playground$debugMessage");
+ asm("playground$debugMessage")
+ #if defined(__x86_64__)
+ __attribute__((visibility("internal")))
+ #endif
+ ;
#else
{ }
#endif