[PATCH] D120666: [docs] Add note about interaction between clang plugins and -clear-ast-before-backend
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 28 09:40:26 PST 2022
thakis added inline comments.
================
Comment at: clang/docs/ClangPlugins.rst:209
+codegen action automatically turns off ``-clear-ast-before-backend``, which
+saves peak memory by clearing the Clang AST after generating IR and before
+running IR optimizations. Use ``CmdlineBeforeMainAction`` or
----------------
this sounds like plugins turning off that flag saves memory
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120666/new/
https://reviews.llvm.org/D120666
More information about the cfe-commits
mailing list