[llvm-branch-commits] [clang] [llvm] [CodeGen][LTO] Switch to runCodeGenPipeline abstraction (PR #210249)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 27 23:36:10 PDT 2026


github-actions[bot] wrote:

<!--LLVM IDS CHECK COMMENT-->


:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
Build idt from compnerd/ids, then for each changed header:
    idt -p build/ --main-file <matching-source.cpp> \
        --apply-fixits --inplace <header>
``````````

</details>

<details>
<summary>
View the diff from ids-check here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/Passes/RunCodeGen.h b/llvm/include/llvm/Passes/RunCodeGen.h
index 15aa92630..aa349a024 100644
--- a/llvm/include/llvm/Passes/RunCodeGen.h
+++ b/llvm/include/llvm/Passes/RunCodeGen.h
@@ -36,7 +36,7 @@ struct CodeGenPipelineConfig {
   IntrusiveRefCntPtr<vfs::FileSystem> VFS = nullptr;
 };
 
-Error runCodeGenPipeline(TargetMachine &TM, Module &M, raw_pwrite_stream &OS,
+LLVM_ABI Error runCodeGenPipeline(TargetMachine &TM, Module &M, raw_pwrite_stream &OS,
                          std::unique_ptr<ToolOutputFile> &DwoOS,
                          CodeGenFileType CGFT,
                          const CodeGenPipelineConfig &Config = {});

``````````

</details>


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


More information about the llvm-branch-commits mailing list