[llvm] MetaRenamer: replaced command line options with pass parameters (PR #133975)
Shamshura Egor via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 2 01:40:57 PDT 2025
================
@@ -233,7 +232,12 @@ MODULE_PASS_WITH_PARAMS(
return StructuralHashPrinterPass(errs(), Options);
},
parseStructuralHashPrinterPassOptions, "detailed;call-target-ignored")
-
+MODULE_PASS_WITH_PARAMS("metarenamer", "MetaRenamerPass",
+ [](MetaRenamerOptions Options) {
+ return MetaRenamerPass(Options);
+ },
+ parseMetaRenamerPassOptions,
+ "rename-exclude-alias-prefixes=S;rename-exclude-function-prefixes=S;rename-exclude-global-prefixes=S;rename-exclude-struct-prefixes=S;no-rename-only-inst;rename-only-inst")
----------------
egorshamshura wrote:
Thanks, fixed
https://github.com/llvm/llvm-project/pull/133975
More information about the llvm-commits
mailing list