File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -2682,12 +2682,14 @@ class CommandObjectTargetModulesDumpSeparateDebugInfoFiles
26822682 llvm::StringRef type;
26832683 llvm::StringRef symfile;
26842684 StructuredData::Array *files;
2685- assert (separate_debug_info_list->GetValueForKeyAsString (" type" ,
2686- type));
2687- assert (separate_debug_info_list->GetValueForKeyAsString (" symfile" ,
2688- symfile));
2689- assert (separate_debug_info_list->GetValueForKeyAsArray (
2690- " separate-debug-info-files" , files));
2685+ if (!(separate_debug_info_list->GetValueForKeyAsString (" type" ,
2686+ type) &&
2687+ separate_debug_info_list->GetValueForKeyAsString (" symfile" ,
2688+ symfile) &&
2689+ separate_debug_info_list->GetValueForKeyAsArray (
2690+ " separate-debug-info-files" , files))) {
2691+ assert (false );
2692+ }
26912693
26922694 strm << " Symbol file: " << symfile;
26932695 strm.EOL ();
You can’t perform that action at this time.
0 commit comments