benhamilton added a comment. Is it super tricky to at least extract the UTF-8 validating and sanitizing functions into their own header and source files within the `Support` library, if not a separate library? Repository: rL LLVM https://reviews.llvm.org/D46274