<div dir="ltr">We generally try to avoid putting platform-specific #ifdef's in the core code, and instead prefer to keep it in libSupport. It would be great if you pulled this code into libSupport by implementing FileSystem.h's function `error_code canonicalize(const Twine &path, SmallVectorImpl<char> &result);` and addressed the nearby FIXME.<div>
<br></div><div style>-- Sean Silva</div></div>