[compiler-rt] r177384 - [sanitizer] Avoid use of uintptr_t.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue Mar 19 02:39:16 PDT 2013


Author: eugenis
Date: Tue Mar 19 04:39:15 2013
New Revision: 177384

URL: http://llvm.org/viewvc/llvm-project?rev=177384&view=rev
Log:
[sanitizer] Avoid use of uintptr_t.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=177384&r1=177383&r2=177384&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Tue Mar 19 04:39:15 2013
@@ -708,7 +708,7 @@ uptr GetTlsSize() {
 
 void AdjustStackSizeLinux(void *attr_, int verbosity) {
   pthread_attr_t *attr = (pthread_attr_t *)attr_;
-  uintptr_t stackaddr = 0;
+  uptr stackaddr = 0;
   size_t stacksize = 0;
   pthread_attr_getstack(attr, (void**)&stackaddr, &stacksize);
   // GLibC will return (0 - stacksize) as the stack address in the case when





More information about the llvm-commits mailing list