[PATCH] D155818: [CloneFunction][DebugInfo] Clone DISubprogram's local types

Vladislav Dzhidzhoev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 03:49:51 PDT 2023


dzhidzhoev added a comment.

In D155818#4529566 <https://reviews.llvm.org/D155818#4529566>, @dblaikie wrote:

>> Additionally, when tracking function-local types in the DICompileUnit (via retainedTypes or enums fields), it seems reasonable to track the clones as well.
>
> Hmm, when do we have function-local types in the DICompileUnit list? I thought we always put those on the subprogram now?

The commit with this change https://reviews.llvm.org/D144006 was reverted because of the crash I'm trying to fix here. Since I will commit this before https://reviews.llvm.org/D144006, if it gets accepted xD, we technically still have function-local types in the DICompileUnit list.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155818/new/

https://reviews.llvm.org/D155818



More information about the llvm-commits mailing list