[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    A plugin for -ftime-trace like tracing in GCC
From:       Roy Jacobson via Gcc <gcc () gcc ! gnu ! org>
Date:       2023-02-21 16:30:15
Message-ID: CACpPL6umTzvPfGcaVebWuxOvqi5A11+VcNo3RmDiHQJ+NFwkuQ () mail ! gmail ! com
[Download RAW message or body]

There were some discussions here about -ftime-trace. I've written a GCC
plugin with similar functionality last year:
https://github.com/royjacobson/externis. It works at least on GCC11 and
GCC12.
It was written by practically reverse engineering the GCC AST and can only
make use of the GCC plugin callbacks, which are very limited, so the
information it provides is sometimes inaccurate and heuristic. But maybe it
can help by providing something to iterate on.

Cheers,
Roy
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic