summaryrefslogtreecommitdiff
path: root/rts/RtsUtils.h
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2018-05-03 10:43:38 -0700
committerBartosz Nitka <niteria@gmail.com>2018-05-11 04:02:03 -0700
commitcb5c2fe875965b7aedbc189012803fc62e48fb3f (patch)
treebc5d65def3de1b2a08b569f9661a0db602a719ac /rts/RtsUtils.h
parent40a76c99624ae82e960bad0f1c832ddec4aece16 (diff)
downloadhaskell-cb5c2fe875965b7aedbc189012803fc62e48fb3f.tar.gz
Fix unwinding of C -> Haskell FFI calls with -threaded
See the new note. Test Plan: manual testing with patched gdb Reviewers: bgamari, simonmar, erikd Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4666
Diffstat (limited to 'rts/RtsUtils.h')
-rw-r--r--rts/RtsUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/RtsUtils.h b/rts/RtsUtils.h
index 8d880c6e19..16596c1716 100644
--- a/rts/RtsUtils.h
+++ b/rts/RtsUtils.h
@@ -44,4 +44,7 @@ void printRtsInfo(void);
void checkFPUStack(void);
+#define xstr(s) str(s)
+#define str(s) #s
+
#include "EndPrivate.h"