[clang] [llvm] [CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined functions (PR #75385)

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 23 15:48:38 PDT 2024


rnk wrote:

I'm not seeing how your example constitutes an ODR violation, or how merging these lambda types by mangled name is incorrect. They are equivalent in your example. It seems like the issue has more to do with the details of how exactly we do the merge, and where the metadata references from DICompositeType to DISubprogram point.

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


More information about the cfe-commits mailing list