[llvm] Add LLVMGlobalAddDebugInfo to Core.cpp (PR #148747)

peter mckinna via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 22:13:25 PDT 2025


demoitem wrote:

Ok, I have exposed the GlobalAddMetadata but I think I still need the DebugInfo as users don't need to get the
kindId which could be problematic or perhaps overly complicated as one has to know the kindId needed
 is for the "dbg" type.
As for the testing. Other tests seem to rely on an assert mechanism. If there is a better way to test this I would use it.

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


More information about the llvm-commits mailing list