Revert "[lld-macho] Have path-related functions return std::string, not StringRef"
This reverts commit 1d31fb8d. Making `rerootPath` return a temporary std::string caused a use-after-free: https://ci.chromium.org/ui/p/chromium/builders/try/win_upload_clang/1608/overview
Loading
Please sign in to comment