[lldb] [llvm] Add support for using foreign type units in .debug_names. (PR #87740)

Alex Langford via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 5 14:24:18 PDT 2024


================
@@ -2717,7 +2731,6 @@ void SymbolFileDWARF::FindTypes(const TypeQuery &query, TypeResults &results) {
       die_context = die.GetDeclContext();
     else
       die_context = die.GetTypeLookupContext();
-    assert(!die_context.empty());
----------------
bulbazord wrote:

Why remove the assertion? Not saying we should keep it, but why doesn't this hold?

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


More information about the llvm-commits mailing list