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
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
Model registry
Operate
Terraform modules
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
Reinier Maas
GHC
Commits
cbe4400d
Commit
cbe4400d
authored
1 year ago
by
Sylvain Henry
Committed by
Marge Bot
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Rts: expose rtsOutOfBoundsAccess symbol
parent
cc1625b1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
rts/RtsMessages.c
+0
-9
0 additions, 9 deletions
rts/RtsMessages.c
rts/RtsSymbols.c
+3
-0
3 additions, 0 deletions
rts/RtsSymbols.c
rts/include/rts/Messages.h
+5
-1
5 additions, 1 deletion
rts/include/rts/Messages.h
with
8 additions
and
10 deletions
rts/RtsMessages.c
+
0
−
9
View file @
cbe4400d
...
...
@@ -326,27 +326,18 @@ rtsDebugMsgFn(const char *s, va_list ap)
}
// Used in stg_badAlignment_entry defined in StgStartup.cmm.
void
rtsBadAlignmentBarf
(
void
)
STG_NORETURN
;
void
rtsBadAlignmentBarf
(
void
)
{
barf
(
"Encountered incorrectly aligned pointer. This can't be good."
);
}
// Used by code generator
void
rtsOutOfBoundsAccess
(
void
)
STG_NORETURN
;
void
rtsOutOfBoundsAccess
(
void
)
{
barf
(
"Encountered out of bounds array access."
);
}
// Used by code generator
void
rtsMemcpyRangeOverlap
(
void
)
STG_NORETURN
;
void
rtsMemcpyRangeOverlap
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
rts/RtsSymbols.c
+
3
−
0
View file @
cbe4400d
...
...
@@ -947,6 +947,9 @@ extern char **environ;
SymI_HasProto(arenaFree) \
SymI_HasProto(rts_clearMemory) \
SymI_HasProto(setKeepCAFs) \
SymI_HasProto(rtsBadAlignmentBarf) \
SymI_HasProto(rtsOutOfBoundsAccess) \
SymI_HasProto(rtsMemcpyRangeOverlap) \
RTS_USER_SIGNALS_SYMBOLS \
RTS_INTCHAR_SYMBOLS
...
...
This diff is collapsed.
Click to expand it.
rts/include/rts/Messages.h
+
5
−
1
View file @
cbe4400d
...
...
@@ -78,7 +78,6 @@ void debugBelch(const char *s, ...)
int
vdebugBelch
(
const
char
*
s
,
va_list
ap
);
/* Hooks for redirecting message generation: */
typedef
void
RtsMsgFunction
(
const
char
*
,
va_list
);
...
...
@@ -94,3 +93,8 @@ extern RtsMsgFunction rtsFatalInternalErrorFn;
extern
RtsMsgFunctionRetLen
rtsDebugMsgFn
;
extern
RtsMsgFunction
rtsErrorMsgFn
;
extern
RtsMsgFunction
rtsSysErrorMsgFn
;
/* Used by code generator */
void
rtsBadAlignmentBarf
(
void
)
STG_NORETURN
;
void
rtsOutOfBoundsAccess
(
void
)
STG_NORETURN
;
void
rtsMemcpyRangeOverlap
(
void
)
STG_NORETURN
;
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