[flang-commits] [flang] [flang][debug] Support derived type components with box types. (PR #109424)

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Wed Sep 25 10:59:10 PDT 2024


abidh wrote:

While testing, I noticed an assertion failure [at the following location](https://github.com/llvm/llvm-project/blob/26029d77a57cb4aaa1479064109e985a90d0edd8/mlir/lib/Target/LLVMIR/DebugTranslation.cpp#L270). I got the following [advice](https://github.com/llvm/llvm-project/pull/106571#issuecomment-2371931898) when I asked how best to handle the issue with the author of the code. I have implemented this in this [commit](https://github.com/llvm/llvm-project/pull/109424/commits/a45bef35ea17e91a62adedffc6604d0861bd14fd) by not caching a type if we know that its standalone use could cause a problem. This will result a new type attribute to be generated for that type if it is used standalone.

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


More information about the flang-commits mailing list