[PATCH] D27506: [ELF] - Print absolute file name in errors when possible.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 06:56:00 PST 2016
>Don't we have an utility function to do this? I am sure we make the same
>transformation on cpio files.
Yes, we have method in \llvm\tools\lld\lib\Core\Reproduce.cpp
static void convertToUnixPathSeparator(SmallString<128> &Path)
It is static and takes not std::string, but SmallString. Do you think we should export it ?
Best regards,
George.
More information about the llvm-commits
mailing list