Skip to content

Commit 92fa1e0

Browse files
committed
lowfat: ensure stack is 16b aligned on calls
1 parent 9c8ac04 commit 92fa1e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • llvm-4.0.0.src/projects/compiler-rt/lib/lowfat

llvm-4.0.0.src/projects/compiler-rt/lib/lowfat/lowfat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ __asm__ (
579579
"\t.type lowfat_stack_pivot,@function\n"
580580
"lowfat_stack_pivot:\n"
581581
"\tmovq %rsp, %rdi\n"
582+
"\tsub $8, %rsp\n"
582583
"\tmovabsq $lowfat_stack_pivot_2, %rax\n"
583584
"\tcallq *%rax\n"
584585
"\tmovq %rax, %rsp\n"

0 commit comments

Comments
 (0)