Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
2fa94890
Commit
2fa94890
authored
8 years ago
by
danh-arm
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #763 from douglas-raillard-arm/dr/add_debug_frame_info
Add CFI debug frame information for ASM functions
parents
984d54bb
b91d935f
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
v1.5-rc1
v1.5-rc0
v1.4
v1.4-rc0
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/common/asm_macros_common.S
+20
-1
include/common/asm_macros_common.S
with
20 additions
and
1 deletion
+20
-1
include/common/asm_macros_common.S
View file @
2fa94890
...
...
@@ -33,12 +33,30 @@
/
*
*
This
macro
is
used
to
create
a
function
label
and
place
the
*
code
into
a
separate
text
section
based
on
the
function
name
*
to
enable
elimination
of
unused
code
during
linking
*
to
enable
elimination
of
unused
code
during
linking
.
It
also
adds
*
basic
debug
information
to
enable
call
stack
printing
most
of
the
*
time
.
*/
.
macro
func
_name
/
*
*
Add
Call
Frame
Information
entry
in
the
.
debug_frame
section
for
*
debugger
consumption
.
This
enables
callstack
printing
in
debuggers
.
*
This
does
not
use
any
space
in
the
final
loaded
binary
,
only
in
the
*
ELF
file
.
*
Note
that
a
function
manipulating
the
CFA
pointer
location
(
i
.
e
.
the
*
x29
frame
pointer
on
AArch64
)
should
declare
it
using
the
*
appropriate
.
cfi
*
directives
,
or
be
prepared
to
have
a
degraded
*
debugging
experience
.
*/
.
cfi_sections
.
debug_frame
.
section
.
text
.
\
_name
,
"ax"
.
type
\
_name
,
%
function
.
func
\
_name
/
*
*
.
cfi_startproc
and
.
cfi_endproc
are
needed
to
output
entries
in
*
.
debug_frame
*/
.
cfi_startproc
\
_name
:
.
endm
...
...
@@ -47,6 +65,7 @@
*/
.
macro
endfunc
_name
.
endfunc
.
cfi_endproc
.
size
\
_name
,
.
-
\
_name
.
endm
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help