[clang] [Frontend] Consolidate frontend timer setup in CompilerInstance::ExecuteAction. NFC (PR #192266)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 06:06:27 PDT 2026
================
@@ -220,6 +220,13 @@ class CompilerInstance : public ModuleLoader {
/// @name High-Level Operations
/// @{
+ // FIXME: Add a static InitializeProcess() method to consolidate process-level
+ // setup that is currently scattered across tool entry points (cc1_main,
+ // clang-repl, libclang, etc.). This would include things like AsmParsers and
+ // install_fatal_error_handler.
+ // These are process-global, so a single static method would all clang-based
----------------
AaronBallman wrote:
```suggestion
// These are process-global, so a single static method would allow clang-based
```
https://github.com/llvm/llvm-project/pull/192266
More information about the cfe-commits
mailing list