[Macros] Serialize plugin search paths for LLDB use

rdar://107030743
This commit is contained in:
Rintaro Ishizaki
2023-04-07 12:02:12 -07:00
committed by Alexis Laferrière
parent 08af8a657f
commit 3ef6087d32
8 changed files with 159 additions and 0 deletions

View File

@@ -89,6 +89,15 @@ static bool validateModule(
llvm::outs() << ", system=" << (searchPath.IsSystem ? "true" : "false")
<< "\n";
}
llvm::outs() << "- Macro Search Paths:\n";
for (auto path : extendedInfo.getPluginSearchPaths())
llvm::outs() << " -plugin-path: " << path << "\n";
for (auto path : extendedInfo.getExternalPluginSearchPaths())
llvm::outs() << " -external-plugin-path: " << path << "\n";
for (auto path : extendedInfo.getCompilerPluginLibraryPaths())
llvm::outs() << " -load-plugin-library: " << path << "\n";
for (auto path : extendedInfo.getCompilerPluginExecutablePaths())
llvm::outs() << " -load-plugin-executable: " << path << "\n";
}
return true;