Commit 41bf0d82 authored by Edward Liaw's avatar Edward Liaw Committed by Android Build Cherrypicker Worker
Browse files

ANDROID: Use -fomit-frame-pointer for x86_ptrace_syscall_x86_64



do_full_int80() in ptrace_syscall.c uses bp register in inline
assembly. It doesn't work when frame pointer is not omitted.

After clang update, by default frame pointer isn't omitted
on x86_64. So explictly use -fomit-frame-pointer.

Bug: 352458178
Signed-off-by: default avatarEdward Liaw <edliaw@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:079ccd46c7db755ebb2399eddca864c43f535066)
Merged-In: I0b1f231d97e788c1597e3117d4a004be89fc8611
Change-Id: I0b1f231d97e788c1597e3117d4a004be89fc8611
parent b7c3d209
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment