Fix the crash in SymbolVendorELF and re-enable the test.
SectionList *module_section_list = module_sp->GetSectionList();
SectionList *objfile_section_list = dsym_objfile_sp->GetSectionList();
+ if (!module_section_list || !!objfile_section_list)
+ return nullptr;
+
static const SectionType g_sections[] = {
eSectionTypeDWARFDebugAbbrev, eSectionTypeDWARFDebugAddr,
eSectionTypeDWARFDebugAranges, eSectionTypeDWARFDebugCuIndex,
self.source = 'main.c'
@no_debug_info_test
- @skipUnlessDarwin
def test_symbol_file_json_address(self):
"""Test that 'target symbols add' can load the symbols from a JSON file using file addresses."""