Skip to content

Commit c8c0372

Browse files
committed
[LLDB] Fix compile error
rdar://140471139
1 parent 8e6b87c commit c8c0372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Commands/CommandObjectTarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2200,7 +2200,7 @@ class CommandObjectTargetModulesDumpClangPCMInfo : public CommandObjectParsed {
22002200
}
22012201

22022202
clang::CompilerInstance compiler;
2203-
compiler.createDiagnostics();
2203+
compiler.createDiagnostics(*llvm::vfs::getRealFileSystem());
22042204

22052205
const char *clang_args[] = {"clang", pcm_path};
22062206
compiler.setInvocation(clang::createInvocation(clang_args));

0 commit comments

Comments
 (0)