diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-08 06:07:19 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-08 06:11:27 -0800 |
commit | 210d143dbc575f293affbd55417505bcb8257d74 (patch) | |
tree | 4ef923731b7db45f1fb166c568ce159bf9080f40 /libgfortran/m4/minval.m4 | |
parent | edbbf7363cff62fc7ff536b5fa64e39f5a4d6496 (diff) | |
download | gcc-210d143dbc575f293affbd55417505bcb8257d74.zip gcc-210d143dbc575f293affbd55417505bcb8257d74.tar.gz gcc-210d143dbc575f293affbd55417505bcb8257d74.tar.bz2 |
c++: Mangling for modules
This is the mangling changes for modules. These were developed in
collaboration with clang, which also implemements the same ABI (or
plans to, I do not think the global init is in clang). The global
init mangling is captured in
https://github.com/itanium-cxx-abi/cxx-abi/issues/99
gcc/cp/
* cp-tree.h (mangle_module_substitution, mangle_identifier)
(mangle_module_global_init): Declare.
* mangle.c (struct globals): Add mod field.
(mangle_module_substitution, mangle_identifier)
(mangle_module_global_init): Define.
(write_module, maybe_write_module): New.
(write_name): Call it.
(start_mangling): Clear mod field.
(finish_mangling_internal): Adjust.
* module.cc (mangle_module, mangle_module_fini)
(get_originating_module): Stubs.
Diffstat (limited to 'libgfortran/m4/minval.m4')
0 files changed, 0 insertions, 0 deletions