[PATCH] D58413: [sanitizers] Restore internal_readlink for x32

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 19 15:41:07 PST 2019


vitalybuka added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:403
 #else
-  return internal_syscall(SYSCALL(readlink), path, buf, bufsize);
+  return internal_syscall(SYSCALL(readlink), (uptr)path, (uptr)buf, bufsize);
 #endif
----------------
Do we have a test which fails because of this?


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58413/new/

https://reviews.llvm.org/D58413





More information about the llvm-commits mailing list