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
2682
2682
llvm::StringRef type;
2683
2683
llvm::StringRef symfile;
2684
2684
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
+ }
2691
2693
2692
2694
strm << " Symbol file: " << symfile;
2693
2695
strm.EOL ();
You can’t perform that action at this time.
0 commit comments