ΒΆstd::string getThinLTOOutputFile(
const std::string& Path,
const std::string& OldPrefix,
const std::string& NewPrefix)
std::string getThinLTOOutputFile(
const std::string& Path,
const std::string& OldPrefix,
const std::string& NewPrefix)
Description
Given the original \p Path to an output file, replace any path prefix matching \p OldPrefix with \p NewPrefix. Also, create the resulting directory if it does not yet exist.
Declared at: llvm/include/llvm/LTO/LTO.h:84
Parameters
- const std::string& Path
- const std::string& OldPrefix
- const std::string& NewPrefix