[PATCH] D12161: [compiler-rt] Add aarch64 syscall optimization support
Alexey Samsonov via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 11:42:40 PDT 2015
samsonov added a subscriber: samsonov.
================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:102
@@ -101,1 +101,3 @@
+#elif SANITIZER_LINUX && defined(__aarch64__)
+#include "sanitizer_syscall_linux_aarch64.inc"
#else
----------------
Please add this file to `lib/sanitizer_common/CMakeLists.txt`
================
Comment at: lib/sanitizer_common/sanitizer_syscall_linux_aarch64.inc:28
@@ +27,3 @@
+
+static uptr __internal_syscall(u64 nr, long arg1) {
+ register long x8 asm("x8") = nr;
----------------
Any specific reason for not using u64 for argument types as we do on x86_64?
http://reviews.llvm.org/D12161
More information about the llvm-commits
mailing list