aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/make/test_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/make/test_common.h')
-rw-r--r--packages/Python/lldbsuite/test/make/test_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/make/test_common.h b/packages/Python/lldbsuite/test/make/test_common.h
index b0151afb892e..575ca62c2fc0 100644
--- a/packages/Python/lldbsuite/test/make/test_common.h
+++ b/packages/Python/lldbsuite/test/make/test_common.h
@@ -18,6 +18,12 @@
#include <eh.h>
#endif
+#if defined(_WIN32)
+#define LLVM_PRETTY_FUNCTION __FUNCSIG__
+#else
+#define LLVM_PRETTY_FUNCTION LLVM_PRETTY_FUNCTION
+#endif
+
// On some systems (e.g., some versions of linux) it is not possible to attach to a process
// without it giving us special permissions. This defines the lldb_enable_attach macro, which