On Wed, Feb 20, 2019 at 03:53:37AM -0800, H.J. Lu wrote:
> Cherry-pick compiler-rt revision 354451:
>
> PR sanitizer/89409
> * sanitizer_common/sanitizer_linux.cc (internal_readlink): Put
> back the (uptr) cast on path and buf.
Please use the above in the ChangeLog, so
P
Cherry-pick compiler-rt revision 354451:
r316591 has
@@ -389,13 +383,11 @@ uptr internal_dup2(int oldfd, int newfd) {
}
uptr internal_readlink(const char *path, char *buf, uptr bufsize) {
-#if SANITIZER_NETBSD
- return internal_syscall_ptr(SYSCALL(readlink), path, buf, bufsize);
-#elif SANITI