Skip to content

Commit 57f3151

Browse files
committed
Revert "[lldb][Modules] Fix error handling of parseAndLoadModuleMapFile (#141220)"
The TestTemplateWithSameArg.py API test is crashing on macOS with this change. Michael is going to look into it; reverting for now to unblock the CI bots. This reverts commit 052c704.
1 parent 5b85e4b commit 57f3151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module,
330330
auto file = HS.lookupModuleMapFile(*dir, is_framework);
331331
if (!file)
332332
return error();
333-
if (HS.parseAndLoadModuleMapFile(*file, is_system))
333+
if (!HS.parseAndLoadModuleMapFile(*file, is_system))
334334
return error();
335335
}
336336
}

0 commit comments

Comments
 (0)