Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
a874dd85
Commit
a874dd85
authored
Aug 20, 2012
by
pcapriotti
Browse files
Export startProfTimer and stopProfTimer symbols.
This fixes unresolved symbols error when dynamically linking base.
parent
4e0a9577
Changes
2
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
a874dd85
...
...
@@ -28,6 +28,7 @@
#include
"Trace.h"
#include
"StgPrimFloat.h"
// for __int_encodeFloat etc.
#include
"Stable.h"
#include
"Proftimer.h"
#if !defined(mingw32_HOST_OS)
#include
"posix/Signals.h"
...
...
@@ -1298,8 +1299,8 @@ typedef struct _RtsSymbolVal {
SymI_HasProto(getMonotonicNSec) \
SymI_HasProto(lockFile) \
SymI_HasProto(unlockFile) \
SymI_
Need
sProto(startProfTimer) \
SymI_
Need
sProto(stopProfTimer) \
SymI_
Ha
sProto(startProfTimer)
\
SymI_
Ha
sProto(stopProfTimer)
\
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS
...
...
rts/Proftimer.h
View file @
a874dd85
...
...
@@ -9,14 +9,14 @@
#ifndef PROFTIMER_H
#define PROFTIMER_H
void
stopProfTimer
(
void
);
void
startProfTimer
(
void
);
#include
"BeginPrivate.h"
void
initProfTimer
(
void
);
void
handleProfTick
(
void
);
void
stopProfTimer
(
void
);
void
startProfTimer
(
void
);
void
stopHeapProfTimer
(
void
);
void
startHeapProfTimer
(
void
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment