[PATCH] D72367: Summary: update macro for OFF_T so that sanitizer works on AARCH64.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 16:37:16 PST 2020
eugenis added inline comments.
================
Comment at: compiler-rt/lib/sanitizer_common/symbolizer/sanitizer_wrappers.cpp:22
// Need to match ../sanitizer_common/sanitizer_internal_defs.h
+#if defined(__powerpc64__) || defined(__aarch64__)
----------------
vitalybuka wrote:
> Do we need to change sanitizer_internal_defs.h
If anything, we need to change this file.
But I don't think it can break aarch64, because unsigned long is same width as unsigned long long there.
This change only affects 32-bit PowerPC.
Should it say !defined(__x86_64__) instead? That would be closer to how OFF_T is defined in sanitizer_internal_defs.h.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72367/new/
https://reviews.llvm.org/D72367
More information about the llvm-commits
mailing list