Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
76611d75
Commit
76611d75
authored
Oct 30, 2015
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dwarf.Types: Fix comment style
parent
6fb0ba65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
compiler/nativeGen/Dwarf/Types.hs
compiler/nativeGen/Dwarf/Types.hs
+5
-5
No files found.
compiler/nativeGen/Dwarf/Types.hs
View file @
76611d75
...
...
@@ -43,7 +43,7 @@ import Data.Char
import
CodeGen.Platform
-- | Individual dwarf records. Each one will be encoded as an entry in
-- the .debug_info section.
-- the
@
.debug_info
@
section.
data
DwarfInfo
=
DwarfCompileUnit
{
dwChildren
::
[
DwarfInfo
]
,
dwName
::
String
...
...
@@ -60,7 +60,7 @@ data DwarfInfo
,
dwMarker
::
CLabel
}
-- | Abbreviation codes used for encoding above records in the
-- .debug_info section.
--
@
.debug_info
@
section.
data
DwarfAbbrev
=
DwAbbrNull
-- ^ Pseudo, used for marking the end of lists
|
DwAbbrCompileUnit
...
...
@@ -218,7 +218,7 @@ data DwarfFrameBlock
,
dwFdeUnwind
::
UnwindTable
}
-- | Header for the .debug_frame section. Here we emit the "Common
-- | Header for the
@
.debug_frame
@
section. Here we emit the "Common
-- Information Entry" record that etablishes general call frame
-- parameters and the default stack layout.
pprDwarfFrame
::
DwarfFrame
->
SDoc
...
...
@@ -315,7 +315,7 @@ pprFrameBlock oldUws (DwarfFrameBlock blockLbl hasInfo uws)
vcat
(
map
(
uncurry
$
pprSetUnwind
plat
)
changed
)
$$
vcat
(
map
(
pprUndefUnwind
plat
.
fst
)
died
)
--
[
Note
:
Info Offset]
-- Note
[
Info Offset]
--
-- GDB was pretty much written with C-like programs in mind, and as a
-- result they assume that once you have a return address, it is a
...
...
@@ -398,7 +398,7 @@ pprUnwindExpr spIsCFA expr
ptext
(
sLit
"1:"
)
-- | Generate code for re-setting the unwind information for a
-- register to
"
undefined
"
-- register to
@
undefined
@
pprUndefUnwind
::
Platform
->
GlobalReg
->
SDoc
pprUndefUnwind
_
Sp
=
panic
"pprUndefUnwind Sp"
-- should never happen
pprUndefUnwind
plat
g
=
pprByte
dW_CFA_undefined
$$
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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