[clang] [llvm] [LTOBackend] Add -filter-print-modules= for save-temps to only dump specific modules. (PR #175696)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 13 08:59:34 PST 2026


================
@@ -74,6 +74,12 @@ static cl::opt<bool> ThinLTOAssumeMerged(
     cl::desc("Assume the input has already undergone ThinLTO function "
              "importing and the other pre-optimization pipeline changes."));
 
+static cl::list<std::string>
+    PrintModulesList("filter-print-modules", cl::value_desc("module names"),
----------------
teresajohnson wrote:

We're not printing, but rather saving, so the option name doesn't sound right. Probably something like "filter-save-modules" and change the variable name and descriptions accordingly.

https://github.com/llvm/llvm-project/pull/175696


More information about the cfe-commits mailing list