[clang] [lld] [llvm] [WIP] LTO with linker scripts, end-to-end. (PR #204282)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 16 21:57:46 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/CodeGen/AssignSectionsToGlobals.h b/llvm/include/llvm/CodeGen/AssignSectionsToGlobals.h
index dcd44a848..4648390ad 100644
--- a/llvm/include/llvm/CodeGen/AssignSectionsToGlobals.h
+++ b/llvm/include/llvm/CodeGen/AssignSectionsToGlobals.h
@@ -19,7 +19,7 @@ class AssignSectionsToGlobalsPass
 
 public:
   AssignSectionsToGlobalsPass(TargetMachine *tm) : TM(tm) {}
-  PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
+  LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
 };
 } // end namespace llvm
 

``````````

</details>


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


More information about the cfe-commits mailing list