public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Reconciling -save-temps intermediate file with cfg
@ 2024-04-29 22:38 0xd
  2024-04-30  6:08 ` Matthias Pfaller
  0 siblings, 1 reply; 2+ messages in thread
From: 0xd @ 2024-04-29 22:38 UTC (permalink / raw)
  To: Gcc Help

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

I am attempting to reconcile the preprocessed C file with the cfg produced from -fdump-tree-cfg-blocks-lineno. The resulting cfg identifies the line numbers of basic blocks as they relate to the original source file, however I am trying to correlate the bb's to the intermediate file (which is what I'm ultimately parsing). Is there a way to do this?

Thank you in advance for any help.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reconciling -save-temps intermediate file with cfg
  2024-04-29 22:38 Reconciling -save-temps intermediate file with cfg 0xd
@ 2024-04-30  6:08 ` Matthias Pfaller
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Pfaller @ 2024-04-30  6:08 UTC (permalink / raw)
  To: gcc-help

On 2024-04-30 00:38, 0xd--- via Gcc-help wrote:
> I am attempting to reconcile the preprocessed C file with the cfg produced from -fdump-tree-cfg-blocks-lineno. The resulting cfg identifies the line numbers of basic blocks as they relate to the original source file, however I am trying to correlate the bb's to the intermediate file (which is what I'm ultimately parsing). Is there a way to do this?
>
> Thank you in advance for any help.

maybe "-P" will help you?

Matthias


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-30  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-29 22:38 Reconciling -save-temps intermediate file with cfg 0xd
2024-04-30  6:08 ` Matthias Pfaller

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).