llvm-project
fce45b3e - [Frontend] Consolidate frontend timer setup in CompilerInstance::ExecuteAction. NFC (#192266)

Commit
4 days ago
[Frontend] Consolidate frontend timer setup in CompilerInstance::ExecuteAction. NFC (#192266) Move the frontend timer creation (-ftime-report) and TimeTraceScope ("ExecuteCompiler") from cc1_main into CompilerInstance::ExecuteAction via a new private PrepareForExecution() method. This ensures all tools that use ExecuteAction (cc1, clang-repl, libclang, etc.) get consistent timing infrastructure without duplicating setup code.
Author
Parents
Loading