Michael137 wrote: Just to circle back on this. Managed to reduce the crash I was seeing to something pretty simple. The gist of the issue is that we silently create ODR violations in LLDB's scratch context (and LLDB uses `ODRHandlingType::Liberal`, so we try to continue `ASTImport`ing despite ODR violations). We kind of have to do so because production apps often do contain ODR violations. But these end up really confusing the decl bookkeeping that LLDB/ASTImporter does. I'll add the test-case (and skip/XFAIL it) shortly. Trying to make progress towards the larger refactor in the coming weeks/months.
https://github.com/llvm/llvm-project/pull/107828 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits