public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Format of Compiled Module Interface (gcm file - c++20 modules) ?
Date: Tue, 31 May 2022 09:20:43 +0000	[thread overview]
Message-ID: <CAH6eHdQW+B1e=S-PLpwB25BuxuKVBPrX_-fR+Ut-hFTJaN1rPg@mail.gmail.com> (raw)
In-Reply-To: <CAA01Csq+dGhDrf5UTbUXbMPbCV=M1MFUHQtb7dWF6M8wcenTAw@mail.gmail.com>

On Mon, 30 May 2022, 16:03 Piotr Krukowiecki via Gcc-help, <
gcc-help@gcc.gnu.org> 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.

>
>

      reply	other threads:[~2022-05-31  9:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 16:01 Piotr Krukowiecki
2022-05-31  9:20 ` Jonathan Wakely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH6eHdQW+B1e=S-PLpwB25BuxuKVBPrX_-fR+Ut-hFTJaN1rPg@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=piotr.krukowiecki@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).