[llvm] [RemoveDIs][DebugInfo] Verifier and printing fixes for DPLabel (PR #83242)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 08:31:33 PDT 2024


eaeltsin wrote:

> I can't say with certainty from just that information, but this error could appear if there is an ODR violation. While you work on the reduced reproducer (which can be time consuming with LTO builds in my experience), can you verify whether, for the type of the variable that this error appears for, there are multiple non-identical class definitions with that type's name?

Thanks for the hint, this was indeed an ODR violation!

Is it possible to report this as an error instead of crashing?


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


More information about the llvm-commits mailing list