i386: Fix missing break; in case statement leading to incorrectly returned FFI_BAD_AB...
authorJeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com>
Mon, 18 Jun 2018 00:01:50 +0000 (17:01 -0700)
committerAnthony Green <green@moxielogic.com>
Mon, 18 Jun 2018 00:01:50 +0000 (20:01 -0400)
commit1d704051b2da207d715351b8613e74437d8e2eb7
tree506620f19e856377304bc994273bdbfa83e5bff0
parentb55baf0b500ccc7636a8a55e0506d9da787ad2dd
i386: Fix missing break; in case statement leading to incorrectly returned FFI_BAD_ABI (#437)

* i386: Add missing break triggering dead store static analyzer checks.

Register calling sequence is being reported as bad ABI instead of working as intended.

Found-by: Clang Static Analysis
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
* Mark ffi arm sysv entry points as private_extern.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
* x86_64: Add implementation of compact unwind for ffi_call_unix64.

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
src/arm/sysv.S
src/x86/ffi.c
src/x86/unix64.S