[PATCH] D147620: [DebugInfo] Keep the CU consistent for operating `DISubprogram`.

Josh Stone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 4 15:05:24 PDT 2023


cuviper added a comment.

In D147620#4311265 <https://reviews.llvm.org/D147620#4311265>, @dblaikie wrote:

> That's the fix at the source here - producers should produce declarations for these member functions and then it'll work.

I have implemented this in rustc here: https://github.com/rust-lang/rust/pull/111167

It seems to be working -- we'll just have to make sure it doesn't break any consumers. Given that this is closer to what both Clang and GCC do for C++ methods, I'm hopeful.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147620



More information about the llvm-commits mailing list