Determine the right symbol to look up an associative array element. Input: flags 0 don't add value signature 1 add value signature
Fake a struct symbol.
Generate import symbol from symbol.
Create the static initializer for the struct/class.
For C++ class cd, generate an instance of __cpp_type_info_ptr and populate it with a pointer to the C++ type info.
Generate Symbol of C++ type info for C++ class cd.
Helper
Thunks adjust the incoming 'this' pointer by 'offset'.
This is accessible via the ClassData, but since it is frequently needed directly (like for rtti comparisons), make it directly accessible.
_tocsym.d Documentation: https://dlang.org/phobos/dmd_tocsym.html Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tocsym.d
Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
Convert a D symbol to a symbol the linker understands (with mangled name).