diff options
| author | davidcunado-arm <david.cunado@arm.com> | 2017-09-07 00:45:59 +0100 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-07 00:45:59 +0100 | 
| commit | 2867ca37074d18a171e4a22a72e77fa612096d4c (patch) | |
| tree | c4ddc73d07911dc1fc09d230811056c8f12cd5e1 /include | |
| parent | 413115e1529a2c2211bac5d3cd1249070e0a8a88 (diff) | |
| parent | 31823b6961d35a5d53e81d3bf4977ad7b2be81dd (diff) | |
Merge pull request #1078 from douglas-raillard-arm/dr/add_cfi_vector_entry
Add CFI debug info to vector entries
Diffstat (limited to 'include')
| -rw-r--r-- | include/common/aarch64/asm_macros.S | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/include/common/aarch64/asm_macros.S b/include/common/aarch64/asm_macros.S index 528e29e0..6d6989c2 100644 --- a/include/common/aarch64/asm_macros.S +++ b/include/common/aarch64/asm_macros.S @@ -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 | 
