[PATCH] D108191: [sanitizers] Fix building on 32 bit Windows after 7256c05ecb7

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 11:36:49 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG18e06e3e2f3d: [sanitizers] Fix building on 32 bit Windows after 7256c05ecb7 (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108191

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h


Index: compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
+++ compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
@@ -139,7 +139,7 @@
 typedef unsigned long long uptr;
 typedef signed long long sptr;
 #else
-#  if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC
+#  if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC || SANITIZER_WINDOWS
 typedef unsigned long uptr;
 typedef signed long sptr;
 #  else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108191.366968.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210817/27ef047b/attachment.bin>


More information about the llvm-commits mailing list