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

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

 



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?

Thanks,
-- 
Piotr Krukowiecki



[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