diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-01-02 16:18:02 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-01-02 16:18:02 +0100 |
commit | cb775ecd6e437de8fdba9a3f173f3787e90e98f2 (patch) | |
tree | 667155a53bc5352e990027c5062b06391afec27d /gcc/go | |
parent | 97bbdb726aba76ead550e25061029cf0aa78671b (diff) | |
download | gcc-cb775ecd6e437de8fdba9a3f173f3787e90e98f2.zip gcc-cb775ecd6e437de8fdba9a3f173f3787e90e98f2.tar.gz gcc-cb775ecd6e437de8fdba9a3f173f3787e90e98f2.tar.bz2 |
libgcc: Specialize execute_cfa_program in DWARF unwinder for alignments
The parameters fs->data_align and fs->code_align always have fixed
values for a particular target in GCC-generated code. Specialize
execute_cfa_program for these values, to avoid multiplications.
gcc/c-family/
* c-cppbuiltin.cc (c_cpp_builtins): Define
__LIBGCC_DWARF_CIE_DATA_ALIGNMENT__.
libgcc/
* unwind-dw2-execute_cfa.h: New file. Extracted from
the execute_cfa_program function in unwind-dw2.c.
* unwind-dw2.c (execute_cfa_program_generic): New function.
(execute_cfa_program_specialized): Likewise.
(execute_cfa_program): Call execute_cfa_program_specialized
or execute_cfa_program_generic, as appropriate.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions