Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghc-debug
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
Glasgow Haskell Compiler
ghc-debug
Commits
1cf477d4
Commit
1cf477d4
authored
5 years ago
by
Ben Gamari
Browse files
Options
Downloads
Patches
Plain Diff
Stack cont
parent
9943c7bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/src/GHC/Debug/Decode/Convert.hs
+1
-1
1 addition, 1 deletion
common/src/GHC/Debug/Decode/Convert.hs
common/src/GHC/Debug/Types/Ptr.hs
+3
-1
3 additions, 1 deletion
common/src/GHC/Debug/Types/Ptr.hs
with
4 additions
and
2 deletions
common/src/GHC/Debug/Decode/Convert.hs
+
1
−
1
View file @
1cf477d4
...
...
@@ -32,7 +32,7 @@ convertClosure g =
GHC
.
MutVarClosure
a1
a2
->
MutVarClosure
a1
a2
GHC
.
BlockingQueueClosure
a1
a2
a3
a4
a5
->
BlockingQueueClosure
a1
a2
a3
a4
a5
GHC
.
TSOClosure
a1
a2
->
TSOClosure
a1
a2
GHC
.
StackClosure
a1
a2
a3
a4
a5
->
StackClosure
a1
a2
a3
a4
a5
GHC
.
StackClosure
a1
a2
a3
a4
a5
->
StackClosure
a1
a2
a3
(
StackCont
a5
a4
)
GHC
.
IntClosure
a1
a2
->
IntClosure
a1
a2
GHC
.
WordClosure
a1
a2
->
WordClosure
a1
a2
GHC
.
Int64Closure
a1
a2
->
Int64Closure
a1
a2
...
...
This diff is collapsed.
Click to expand it.
common/src/GHC/Debug/Types/Ptr.hs
+
3
−
1
View file @
1cf477d4
...
...
@@ -58,7 +58,9 @@ newtype ClosurePtr = ClosurePtr Word64
instance
Show
ClosurePtr
where
show
(
ClosurePtr
p
)
=
"0x"
++
showHex
(
fromBE64
p
)
""
data
StackCont
=
StackCont
RawStack
deriving
Show
data
StackCont
=
StackCont
{
stackContStack
::
!
RawStack
,
stackContSp
::
!
Word64
}
deriving
Show
newtype
StackPtr
=
StackPtr
Word64
...
...
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