[PATCH] D12161: [compiler-rt] Add aarch64 syscall optimization support

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 10:19:48 PDT 2015


zatrazz created this revision.
zatrazz added reviewers: rengolin, kcc, eugenis, dvyukov.
zatrazz added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

This patch adds the inline syscall support for aarch64 instead of relying
on the syscall runtime function.  I had to use the macro system instead of
template one (as x86_64 does) because I have hit a issue with GCC where
named register through asm were not used in template instanciation
(and it has shown on both GCC 4.8 and GCC 4.9).

http://reviews.llvm.org/D12161

Files:
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_syscall_linux_aarch64.inc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12161.32570.patch
Type: text/x-patch
Size: 5487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150819/7ac1ae9d/attachment.bin>


More information about the llvm-commits mailing list