Skip to content

Commit d588930

Browse files
[swift][HACK] Disable FindDefinitionTypeForDWARFDeclContext
The function `FindDefinitionTypeForDWARFDeclContext` is not used anywhere but broken with the latest LLVM
1 parent 89ea10c commit d588930

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/cxx_debugging/lib/WasmVendorPlugins.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ class SymbolFileWasmDWARF : public lldb_private::plugin::dwarf::SymbolFileDWARF
291291

292292
std::shared_ptr<lldb_private::Type> externref_type_sp;
293293

294+
/* TODO
294295
lldb::TypeSP FindDefinitionTypeForDWARFDeclContext(
295296
const DWARFDeclContext& dwarf_decl_ctx) override {
296297
// We define type externref_t as a 32-bit integer, so as to be
@@ -319,6 +320,7 @@ class SymbolFileWasmDWARF : public lldb_private::plugin::dwarf::SymbolFileDWARF
319320
return SymbolFileDWARF::FindDefinitionTypeForDWARFDeclContext(
320321
dwarf_decl_ctx);
321322
}
323+
*/
322324

323325
private:
324326
WasmValueLoader* current_value_loader_ = nullptr;

0 commit comments

Comments
 (0)