Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from llvm:master #2031

Merged
merged 2 commits into from
Dec 14, 2019
Merged

[pull] master from llvm:master #2031

merged 2 commits into from
Dec 14, 2019

Commits on Dec 14, 2019

  1. AArch64: Fix frame record chain

    The commit r369122 may keep LR and FP register (aka. frame record) in
    the middle of a frame, thus we must add the offsets to ensure the FP
    register always points to innermost frame record on the stack.
    
    According to AAPCS64[1], a conforming code shall construct a linked list
    of stack frames that can be traversed with frame records.  This commit
    is also essential to frame-pointer-based stack unwinder (e.g.  the stack
    unwinder in linx-perf-tools.)
    
    [1] https://github.com/ARM-software/software-standards/blob/master/abi/aapcs64/aapcs64.rst#the-frame-pointer
    
    Test: llvm-lit ${LLVM_SRC}/test/CodeGen/AArch64/framelayout-frame-record.ll
    Test: llvm-lit ${LLVM_SRC}/test/CodeGen/AArch64
    
    Differential Revision: https://reviews.llvm.org/D70800
    loganchien committed Dec 14, 2019
    Configuration menu
    Copy the full SHA
    d4e10e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ea34c1 View commit details
    Browse the repository at this point in the history