gysit wrote:

> @chbessonova did some investigation, and it turns out that the same issue 
> also affects DILocalVariables, which already live in retainedNodes.
> See https://gist.github.com/chbessonova/67fc7460ee6a148dd0f9734a25b37564. When
> bin/mlir-translate -import-llvm -mlir-print-debuginfo 
> dilocalvariable-duplication.ll
> is run on it, the output contains duplicate #di_local_variables.
> Would it make more sense to create a separate issue for the duplication 
> problem involving DILocalVariables/DIGlobalVariables living in retainedNodes, 
> and to keep the fix for that separate from this PR?
> 

Yes I think it is ok to separate this out.


https://github.com/llvm/llvm-project/pull/187927
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to