[llvm] MetaRenamer: replaced command line options with pass parameters (PR #133975)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 1 18:40:44 PDT 2025


================
@@ -18,7 +18,33 @@
 #include "llvm/IR/PassManager.h"
 
 namespace llvm {
+
+struct MetaRenamerOptions {
+  /// Prefixes for functions that don't need to be renamed, separated by a comma
+  std::string RenameExcludeFunctionPrefixes;
----------------
arsenm wrote:

I assume all of these can be StringRef. The options shouldn't really need ownership over the string 

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


More information about the llvm-commits mailing list