platform_bionic/libc/arch-arm/syscalls
Christopher Ferris f5a9123d9f Add unwind information for r7 in arm syscalls.
It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.

Update the syscall generation code to add unwinding information for
these uses.

Bug: 28411713
(cherry picked from commit 6e45d37dec)

Change-Id: Ib775effc44c4113735fe9032b0602b9d63e3e390
2016-04-27 20:34:47 -07:00
..
___clock_nanosleep.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___close.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___faccessat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___fchmod.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___fchmodat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___fgetxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___flistxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
___fsetxattr.S libc: Add O_PATH support for fgetxattr / fsetxattr 2015-06-01 15:51:56 -07:00
___mremap.S fix the mremap signature 2015-11-06 13:14:43 -08:00
___rt_sigqueueinfo.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__accept4.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__arm_fadvise64_64.S Add posix_fadvise(3). 2014-09-11 08:45:46 -07:00
__brk.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__connect.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__epoll_pwait.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
__exit.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__fcntl64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__fstatfs64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__getcpu.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__getcwd.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__getdents64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__getpid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__getpriority.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__ioctl.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__llseek.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
__mmap2.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
__openat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__ppoll.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
__preadv64.S Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
__pselect6.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
__ptrace.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__pwritev64.S Add preadv/pwritev. 2015-08-26 14:48:55 -07:00
__reboot.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__rt_sigaction.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__rt_sigpending.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__rt_sigprocmask.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__rt_sigsuspend.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__rt_sigtimedwait.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__sched_getaffinity.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__set_tid_address.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__set_tls.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__sigaction.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__signalfd4.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__socket.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__statfs64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__sync_file_range2.S Add sync_file_range to <fcntl.h>. 2016-04-05 12:17:22 -07:00
__timer_create.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__timer_delete.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__timer_getoverrun.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__timer_gettime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__timer_settime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
__waitid.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
_exit.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
acct.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
adjtimex.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
bind.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
cacheflush.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
capget.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
capset.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
chdir.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
chroot.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
clock_adjtime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
clock_getres.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
clock_gettime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
clock_settime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
delete_module.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
dup.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
dup3.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
epoll_create1.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
epoll_ctl.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
eventfd.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
execve.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fallocate64.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
fchdir.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fchown.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fchownat.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
fdatasync.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
flock.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fremovexattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fstat64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fstatat64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
fsync.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
ftruncate64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getegid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
geteuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getgroups.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getitimer.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getpeername.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getpgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getppid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getresgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getresuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getrlimit.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getrusage.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getsid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getsockname.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getsockopt.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
gettimeofday.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
getxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
init_module.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
inotify_add_watch.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
inotify_init1.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
inotify_rm_watch.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
kill.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
klogctl.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
lgetxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
linkat.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
listen.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
listxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
llistxattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
lremovexattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
lseek.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
lsetxattr.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
madvise.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mincore.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mkdirat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mknodat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mlock.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mlockall.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
mount.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
mprotect.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
msync.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
munlock.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
munlockall.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
munmap.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
nanosleep.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
personality.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
pipe2.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
prctl.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
pread64.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
prlimit64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
process_vm_readv.S Add process_vm_readv and process_vm_writev. 2015-06-10 17:24:20 -07:00
process_vm_writev.S Add process_vm_readv and process_vm_writev. 2015-06-10 17:24:20 -07:00
pwrite64.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
quotactl.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
read.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
readahead.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
readlinkat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
readv.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
recvfrom.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
recvmmsg.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
recvmsg.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
removexattr.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
renameat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_get_priority_max.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_get_priority_min.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_getparam.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_getscheduler.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_rr_get_interval.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_setaffinity.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_setparam.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_setscheduler.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sched_yield.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sendfile.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sendfile64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sendmmsg.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sendmsg.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sendto.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
setdomainname.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setfsgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setfsuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setgroups.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sethostname.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setitimer.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setns.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setpgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setpriority.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setregid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setresgid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setresuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setreuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setrlimit.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setsid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setsockopt.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
settimeofday.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setuid.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
setxattr.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
shutdown.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sigaltstack.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
socketpair.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
splice.S Ensure __set_errno is still visible on LP32. 2014-09-08 16:46:50 -07:00
swapoff.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
swapon.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
symlinkat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sync.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
sysinfo.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
tee.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
tgkill.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
timerfd_create.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
timerfd_gettime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
timerfd_settime.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
times.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
truncate.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
truncate64.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
umask.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
umount2.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
uname.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
unlinkat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
unshare.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
utimensat.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
vmsplice.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
wait4.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
write.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00
writev.S Add unwind information for r7 in arm syscalls. 2016-04-27 20:34:47 -07:00