Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No expensive headers reported for clang 19 build #100

Closed
schenker opened this issue Jan 2, 2025 · 2 comments
Closed

No expensive headers reported for clang 19 build #100

schenker opened this issue Jan 2, 2025 · 2 comments

Comments

@schenker
Copy link

schenker commented Jan 2, 2025

ClangBuildAnalyzer does not report any "expensive headers" when a clang 19 build is being analyzed.
The reason seems to be that with clang 19, Source events are no longer reported with phase X, but with phase b/e.

E.g. with clang 18 the trace looks like this:

        {
            "pid": 12866,
            "tid": 12866,
            "ph": "X",
            "ts": 3244,
            "dur": 234307,
            "name": "Source",
            "args": {
                "detail": "/home/thomas/workspace/ClangBuildAnalyzer/src/Utils.h"
            }
        },

and with clang 19:

        {
            "pid": 13110,
            "tid": 13110,
            "ts": 1989,
            "cat": "Source",
            "ph": "b",
            "id": 0,
            "name": "Source",
            "args": {
                "detail": "/home/thomas/workspace/ClangBuildAnalyzer/src/Utils.h"
            }
        },
        {
            "pid": 13110,
            "tid": 13110,
            "ts": 254758,
            "cat": "Source",
            "ph": "e",
            "id": 0,
            "name": "Source"
        },
@aras-p
Copy link
Owner

aras-p commented Jan 5, 2025

Should be fixed in 1.6.0 release I just made: https://github.com/aras-p/ClangBuildAnalyzer/releases/tag/v1.6.0

@aras-p aras-p closed this as completed Jan 5, 2025
@schenker
Copy link
Author

schenker commented Jan 5, 2025

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants