File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,12 @@ CreateFakeModule(std::vector<LineTable::Sequence> line_sequences) {
176176 if (!text_sp)
177177 return createStringError (" No .text" );
178178
179- auto cu_up = std::make_unique<CompileUnit>(module_sp, /* user_data=*/ nullptr ,
180- /* support_file_nsp=*/ nullptr ,
181- /* uid=*/ 0 , eLanguageTypeC,
182- /* is_optimized=*/ eLazyBoolNo);
179+ auto cu_up = std::make_unique<CompileUnit>(
180+ module_sp,
181+ /* user_data=*/ nullptr ,
182+ /* support_file_nsp=*/ std::make_shared<SupportFile>(),
183+ /* uid=*/ 0 , eLanguageTypeC,
184+ /* is_optimized=*/ eLazyBoolNo);
183185 LineTable *line_table = new LineTable (cu_up.get (), std::move (line_sequences));
184186 cu_up->SetLineTable (line_table);
185187 cast<FakeSymbolFile>(module_sp->GetSymbolFile ())
You can’t perform that action at this time.
0 commit comments