Skip to content
GitLab
Menu
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
2867ca37
Commit
2867ca37
authored
Sep 07, 2017
by
davidcunado-arm
Committed by
GitHub
Sep 07, 2017
Browse files
Merge pull request #1078 from douglas-raillard-arm/dr/add_cfi_vector_entry
Add CFI debug info to vector entries
parents
413115e1
31823b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/common/aarch64/asm_macros.S
View file @
2867ca37
...
...
@@ -65,8 +65,12 @@
*
security
,
robustness
and
potentially
facilitates
debugging
.
*/
.
macro
vector_entry
label
.
cfi_sections
.
debug_frame
.
section
.
vectors
,
"ax"
.
align
7
,
0
.
type
\
label
,
%
function
.
func
\
label
.
cfi_startproc
\
label
:
.
endm
...
...
@@ -77,6 +81,8 @@
*
vector
entry
as
the
parameter
*/
.
macro
check_vector_size
since
.
endfunc
.
cfi_endproc
.
if
(
.
-
\
since
)
>
(
32
*
4
)
.
error
"Vector exceeds 32 instructions"
.
endif
...
...
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