OCHyams
OCHyams
It looks like we do the right thing now: Godbolt link (uses readelf which doesn't show FORMs): https://godbolt.org/z/o6vcP1W19. Or - see the reproducer below. Clang now emits a udata constant...
An old internal bug report lead me to this issue. @wolfy1961 and I discussed offline that this is caused by the fact variables are only added to retainedNodes lists in...
Looks like this is no longer an issue https://godbolt.org/z/e8j9eE4df (the dbg_value start showing after the PHIs in LLVM 5.0). LLVM 20 output: ```llvm for.body: ; preds = %entry, %for.body %o.sroa.6.011...
mentioned in issue https://github.com/llvm/llvm-project/issues/47290
I have just reported an issue which seems relevant to this thread: llvm/llvm-bugzilla-archive#48719 . The bug report shows how we can run into incorrect debug info for an escaped variable...
I think it might be time to close this ticket. Using [assignment tracking](https://discourse.llvm.org/t/rfc-assignment-tracking-a-better-way-of-specifying-variable-locations-in-ir/62367), which is enabled by default for Non-O0, non-LTO builds which are not tuned for LLDB ([conditions in...
> What is the story for llvm::LowerDbgDeclare? `LowerDbgDeclare` only affects dbg.declares, and assignment tracking replaces _most_ dbg.declares with a new intrinsic. So if your builds meet the "requirements" (see previous...
> Hello Developers, I am interested in resolving this issue. Please go ahead :)
There's an open PR for it, https://github.com/llvm/llvm-project/pull/166627, I've pinged the author there. Probably best to wait a bit and see if they respond.
This seems to have been since fixed: https://godbolt.org/z/x735n5xPv ``` @x (.0) = internal unnamed_addr global i1 false, align 4, !dbg !0 @x (.1) = internal unnamed_addr global i32 0, align...