[clang] [llvm] Non constant size and offset in DWARF (PR #141106)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 16 11:23:34 PDT 2025
================
@@ -834,8 +834,8 @@ llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {
auto *ISATy = DBuilder.createPointerType(ClassTy, Size);
ObjTy = DBuilder.createStructType(TheCU, "objc_object", TheCU->getFile(), 0,
- 0, 0, llvm::DINode::FlagZero, nullptr,
- llvm::DINodeArray());
+ (uint64_t)0, 0, llvm::DINode::FlagZero,
----------------
dwblaikie wrote:
The need for this change makes the API change a bit concerning.
Is it worth introducing a distinct name for this, or finding some other way to avoid 0 in this parameter being ambiguous?
https://github.com/llvm/llvm-project/pull/141106
More information about the llvm-commits
mailing list