File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
source/Plugins/SymbolFile/DWARF
test/API/python_api/sbmodule/SeperateDebugInfo Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1287,8 +1287,7 @@ SymbolFileDWARFDebugMap::GetSeparateDebugInfoFiles() {
12871287 continue ;
12881288
12891289 if (cu_map.find (info.oso_path ) == cu_map.end ())
1290- cu_map[info.oso_path ] = info.so_file ;
1291- ;
1290+ cu_map[info.oso_path ] = lldb_private::FileSpec (info.oso_path );
12921291 }
12931292 return cu_map;
12941293}
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ def test_get_separate_debug_info_files_dwo(self):
2929 self .assertEqual (len (file_specs ), 1 )
3030 self .assertTrue (file_specs [0 ].GetFilename ().endswith (".dwo" ))
3131
32- @skipIf (debug_info = no_match ("dsym" ))
33- def test_get_separate_debug_info_files_dsym (self ):
32+ @skipUnlessDarwin
33+ @skipIf (debug_info = no_match ("dwarf" ))
34+ def test_get_separate_debug_info_files_darwin_dwarf (self ):
3435 """Test the SBModule::GetSeparateDebugInfoFiles"""
3536 self .build ()
3637 exe = self .getBuildArtifact ("a.out" )
@@ -40,4 +41,4 @@ def test_get_separate_debug_info_files_dsym(self):
4041 main_module = target .GetModuleAtIndex (0 )
4142 file_specs = main_module .GetSeparateDebugInfoFiles ()
4243 self .assertEqual (len (file_specs ), 1 )
43- self .assertTrue (file_specs [0 ].GetFilename ().endswith (".a " ))
44+ self .assertTrue (file_specs [0 ].GetFilename ().endswith (".o " ))
You can’t perform that action at this time.
0 commit comments