[llvm-branch-commits] [llvm] [DebugInfo][FLMD] Add classes for function-local DebugLocs (PR #244622)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 23 06:58:17 PST 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/IR/DebugInfoMetadata.h b/llvm/include/llvm/IR/DebugInfoMetadata.h
index 3bc97c51e..8cf7d0903 100644
--- a/llvm/include/llvm/IR/DebugInfoMetadata.h
+++ b/llvm/include/llvm/IR/DebugInfoMetadata.h
@@ -3109,7 +3109,7 @@ class DIDbgLoc : public MDNode {
friend class LLVMContextImpl;
friend class MDNode;
- DIDbgLoc(LLVMContext &C, StorageType Storage, Metadata *FLContext,
+ LLVM_ABI DIDbgLoc(LLVMContext &C, StorageType Storage, Metadata *FLContext,
FLIndex<FLSrcLoc> SrcLocIdx, FLIndex<FLInlinedCall> InlinedAt,
uint16_t AtomGroup, uint8_t AtomRank);
DIDbgLoc(LLVMContext &C, StorageType Storage, Metadata *FLContext,
@@ -3121,7 +3121,7 @@ class DIDbgLoc : public MDNode {
uint16_t AtomGroup : 13;
uint16_t AtomRank : 3;
- LLVM_ABI static DIDbgLoc *getImpl(LLVMContext &Context,
+ static DIDbgLoc *getImpl(LLVMContext &Context,
MDFunctionLocalContext *FLContext,
FLDebugLoc DL, StorageType Storage,
bool ShouldCreate = true) {
@@ -3130,7 +3130,7 @@ class DIDbgLoc : public MDNode {
ShouldCreate);
}
- LLVM_ABI static DIDbgLoc *getImpl(LLVMContext &Context, Metadata *FLContext,
+ static DIDbgLoc *getImpl(LLVMContext &Context, Metadata *FLContext,
FLDebugLoc DL, StorageType Storage,
bool ShouldCreate = true) {
return getImpl(Context, FLContext, DL.SrcLocIdx, DL.InlinedAtIdx,
``````````
</details>
https://github.com/llvm/llvm-project/pull/244622
More information about the llvm-branch-commits
mailing list