Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
haskell-wasm
GHC
Commits
adf9e91a
Commit
adf9e91a
authored
1 year ago
by
Cheng Shao
Browse files
Options
Downloads
Patches
Plain Diff
rts: fix missing function prototypes in ClosureMacros.h
(cherry picked from commit
3ca72ad9
)
parent
8aebac9b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rts/include/rts/storage/ClosureMacros.h
+12
-0
12 additions, 0 deletions
rts/include/rts/storage/ClosureMacros.h
with
12 additions
and
0 deletions
rts/include/rts/storage/ClosureMacros.h
+
12
−
0
View file @
adf9e91a
...
...
@@ -145,6 +145,18 @@ EXTERN_INLINE StgHalfWord GET_TAG(const StgClosure *con)
-------------------------------------------------------------------------- */
#if defined(PROFILING)
/*
These prototypes are in RtsFlags.h. We can't include RtsFlags.h here
because that's a private header, but we do need these prototypes to
be duplicated here, otherwise there will be some
-Wimplicit-function-declaration compilation errors. Especially when
GHC compiles out-of-tree cbits that rely on SET_HDR in RTS API.
*/
bool
doingLDVProfiling
(
void
);
bool
doingRetainerProfiling
(
void
);
bool
doingErasProfiling
(
void
);
/*
The following macro works for both retainer profiling and LDV profiling. For
retainer profiling, we set 'trav' to 0, which is an invalid
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment