aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorSam Tebbs <sam.tebbs@arm.com>2018-12-14 15:52:05 +0000
committerSam Tebbs <sam.tebbs@arm.com>2018-12-14 15:52:05 +0000
commitb612f31e42daef56ea213e58429cd222c2c82d86 (patch)
tree1f77a258b59664ff2af4af19ca8099ebfe988ed3 /gcc/doc/tm.texi
parent3458817a1cfd3c071c9f24b2e7492c3db75f54f1 (diff)
[PATCH 1/3][GCC] Add new target hook asm_post_cfi_startproc
2018-12-14 Sam Tebbs <sam.tebbs@arm.com> * doc/tm.texi (TARGET_ASM_POST_CFI_STARTPROC): Define. * doc/tm.texi.in (TARGET_ASM_POST_CFI_STARTPROC): Define. * dwarf2out.c (dwarf2out_do_cfi_startproc): Trigger the hook. * hooks.c (hook_void_FILEptr_tree): Define. * hooks.h (hook_void_FILEptr_tree): Define. * target.def (post_cfi_startproc): Define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@267135 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index e348f0a7da6..c9a85606f1b 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -9422,6 +9422,15 @@ If this macro is not defined, nothing special is output at the end of
the jump-table.
@end defmac
+@deftypefn {Target Hook} void TARGET_ASM_POST_CFI_STARTPROC (FILE *@var{}, @var{tree})
+This target hook is used to emit assembly strings required by the target
+after the .cfi_startproc directive. The first argument is the file stream to
+write the strings to and the second argument is the function's declaration. The
+expected use is to add more .cfi_* directives.
+
+The default is to not output any assembly strings.
+@end deftypefn
+
@deftypefn {Target Hook} void TARGET_ASM_EMIT_UNWIND_LABEL (FILE *@var{stream}, tree @var{decl}, int @var{for_eh}, int @var{empty})
This target hook emits a label at the beginning of each FDE@. It
should be defined on targets where FDEs need special labels, and it