Re: Format of Compiled Module Interface (gcm file - c++20 modules) ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 May 2022, 16:03 Piotr Krukowiecki via Gcc-help, <
gcc-help@xxxxxxxxxxx> wrote:

> Hi,
>
> is there a description of .gcm file content?
>
> I've read
> https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Compiled-Module-Interface.html
> so I understand it's ELF32 file, but I'd like to understand what's
> kept inside and how. For example, an inline function body may be
> present inside CMI, I'd like to know how to find it and parse it.
>
> It seems that gcc implementation is in
> https://github.com/gcc-mirror/gcc/blob/master/gcc/cp/module.cc but is
> the code the only documentation?
>

There's also https://gcc.gnu.org/wiki/cxx-modules and Nathan Sidwell's GNU
Cauldron and cppcon talks.

>
>



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux