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 | 3b6cac2b44b384cd2091eaeaebeb3478c253a25d (patch) | |
tree | 0c7eaab6bb102eca8829b40fef1e9d531f10eb7d /c++tools | |
parent | 8385088039f58a1d403cbb0792105236d240de85 (diff) | |
download | gcc-3b6cac2b44b384cd2091eaeaebeb3478c253a25d.zip gcc-3b6cac2b44b384cd2091eaeaebeb3478c253a25d.tar.gz gcc-3b6cac2b44b384cd2091eaeaebeb3478c253a25d.tar.bz2 |
Compute a table of DWARF register sizes at compile
The sizes are compile-time constants. Create a vector with them,
so that they can be inspected at compile time.
gcc/
* dwarf2cfi.cc (init_return_column_size): Remove.
(init_one_dwarf_reg_size): Adjust.
(generate_dwarf_reg_sizes): New function. Extracted
from expand_builtin_init_dwarf_reg_sizes.
(expand_builtin_init_dwarf_reg_sizes): Call
generate_dwarf_reg_sizes.
* target.def (init_dwarf_reg_sizes_extra): Adjust
hook signature.
* config/msp430/msp430.cc
(msp430_init_dwarf_reg_sizes_extra): Adjust.
* config/rs6000/rs6000.cc
(rs6000_init_dwarf_reg_sizes_extra): Likewise.
* doc/tm.texi: Update.
Diffstat (limited to 'c++tools')
0 files changed, 0 insertions, 0 deletions