summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2015-11-23 23:12:41 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-23 23:13:36 +0100
commit1c45f4172f57baa1622c5a8421f9edacd0ccfe44 (patch)
tree09473543a261ee07763e9d5a6cadbe2aa91e1624
parente587217b53a7bb1be1e629e3b71962142794b651 (diff)
downloadhaskell-1c45f4172f57baa1622c5a8421f9edacd0ccfe44.tar.gz
rts: Always export Libdw* symbols
Otherwise we'll get link time failures as `base` always builds `GHC.ExecutionStack`. Test Plan: Validate Reviewers: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1519
-rw-r--r--rts/RtsSymbols.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rts/RtsSymbols.c b/rts/RtsSymbols.c
index 936dffca74..8413d31bbf 100644
--- a/rts/RtsSymbols.c
+++ b/rts/RtsSymbols.c
@@ -35,7 +35,6 @@
SymI_HasProto(stg_makeStableNamezh) \
SymI_HasProto(stg_finalizzeWeakzh)
-#if defined(USE_LIBDW)
#define RTS_LIBDW_SYMBOLS \
SymE_HasProto(backtraceFree) \
SymE_HasProto(libdwGetBacktrace) \
@@ -43,9 +42,6 @@
SymE_HasProto(libdwPoolTake) \
SymE_HasProto(libdwPoolRelease) \
SymE_HasProto(libdwPoolClear)
-#else
-#define RTS_LIBDW_SYMBOLS
-#endif /* USE_LIBDW */
#if !defined (mingw32_HOST_OS)
#define RTS_POSIX_ONLY_SYMBOLS \