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

Jeremy Morse via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 09:22:41 PST 2024


jmorse wrote:

I've placed a re-application of this code in #119001, along with a commit that attempts to fix the matter discovered here.  To avoid multiple DICompositeTypes in multiple DISubprograms being ODRUnique'd, we instead put them in the declaration DISubprogram which should be unique'd anyway.

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


More information about the cfe-commits mailing list