aras-p / ClangBuildAnalyzer

Clang build analysis tool using -ftime-trace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New trace events

Sahnvour opened this issue · comments

It looks like clang 13 added new events to trace its backend more closely, and ClangBuildAnalyzer does not recognise them.
For example:

WARN: unknown trace event 'AlwaysInlinerPass' in 'redacted.cpp.json', skipping.
WARN: unknown trace event 'ModuleToFunctionPassAdaptor' in 'redacted.cpp.json', skipping.
WARN: unknown trace event 'ModuleToFunctionPassAdaptor' in 'redacted.cpp.json', skipping.
WARN: unknown trace event 'AddressSanitizerPass' in 'redacted.cpp.json', skipping.
WARN: unknown trace event 'AddressSanitizerPass' in 'redacted.cpp.json', skipping.
...

Should they just be added as fallthrough after

else if (StrEqual(name, "RunLoopPass"))
?

At least some of them are not that new. See #56

Should be fixed by #80 (merged into main branch, I'll tag the 1.2.0 release binaries soon)