[PATCH] D40134: [asan] Add support for AArch64 ILP32

Adhemerval Zanella via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 30 03:39:26 PST 2017


zatrazz added a comment.

In https://reviews.llvm.org/D40134#939153, @kubamracek wrote:

> Is there a bot that builds for this architecture?


As I described in the message there is some issue with current ABI approach:

1. LLVM does not have support for AArch64 ILP32
2. GLIBC and Linux are maintained in out of tree branches.

So no current buildbot enabled.



================
Comment at: lib/sanitizer_common/sanitizer_platform.h:223
+#  if defined(__ILP32__)
+#   define SANITIZER_USES_CANONICAL_LINUX_SYSCALLS 2
+#  else
----------------
kubamracek wrote:
> The value of "2" is really weird here. Can we use a separate constant?
I don't see why not, maybe 32 and 64 to represent the underlying wordsize expected?


https://reviews.llvm.org/D40134





More information about the llvm-commits mailing list