Merge branch 'dietoref1-2prep-2-3-4-5-6-7-dwzpair-altlink-sharedstmt-dieref-dwz3... dwz
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Sep 2021 20:40:32 +0000 (22:40 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 22 Sep 2021 20:40:32 +0000 (22:40 +0200)
lldb/source/Symbol/Type.cpp

index 5b4169d..7711319 100644 (file)
@@ -151,6 +151,14 @@ Type::Type(lldb::user_id_t uid, SymbolFile *symbol_file, ConstString name,
       m_compiler_type_resolve_state(compiler_type ? compiler_type_resolve_state
                                                   : ResolveState::Unresolved),
       m_payload(opaque_payload) {
+  // FIXME
+  if (symbol_file && symbol_file->GetObjectFile()->GetFileSpec().GetPath().find(
+                         ".debug.dwz") != std::string::npos) {
+    fprintf(stderr, "%s:%s\n",
+            symbol_file->GetObjectFile()->GetFileSpec().GetPath().c_str(),
+            name.AsCString());
+    lldbassert(0);
+  }
   if (byte_size) {
     m_byte_size = *byte_size;
     m_byte_size_has_value = true;