[llvm] [LLVM][NewPM] Add a C API for setting the PassBuilder AA pipeline. (PR #102482)

Tim Besard via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 01:06:00 PDT 2024


================
@@ -72,6 +72,13 @@ void LLVMPassBuilderOptionsSetVerifyEach(LLVMPassBuilderOptionsRef Options,
 void LLVMPassBuilderOptionsSetDebugLogging(LLVMPassBuilderOptionsRef Options,
                                            LLVMBool DebugLogging);
 
+/**
+ * Specify a custom alias analysis pipeline for the PassBuilder
+ * to be used instead of the default one.
----------------
maleadt wrote:

Maybe it's safer to `strdup` and clean up as part of `LLVMDisposePassBuilderOptions`?

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


More information about the llvm-commits mailing list