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

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 2 14:19:56 PDT 2024


rnk wrote:

> Perhaps a worthwhile direction is separating DISubprograms into abstract and definition portions, much like DWARF does, which would allow us to put these types into the declaration and have a well defined scope hierarchy: types that get uniqued refer to the abstract-DISubprogram for their lexical scope. 

This sounds like a promising direction to me, but I have no idea what the relative costs are.

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


More information about the cfe-commits mailing list