[PATCH] D72367: Summary: update macro for OFF_T so that sanitizer works on AARCH64.

Lirong Yuan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 18:21:23 PST 2020


yuanzi updated this revision to Diff 236738.
yuanzi added a comment.

update
update the definition for OFF_T to align with sanitizer_internal_defs.h


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72367

Files:
  compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp


Index: compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
===================================================================
--- compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
+++ compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp
@@ -20,7 +20,7 @@
 #include <tuple>
 
 // Need to match ../sanitizer_common/sanitizer_internal_defs.h
-#if defined(ARCH_PPC)
+#if !defined(__x86_64__) && !defined(_WIN64)
 #define OFF_T unsigned long
 #else
 #define OFF_T unsigned long long


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72367.236738.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200108/b2cdef35/attachment.bin>


More information about the llvm-commits mailing list