• Clemens Backes's avatar
    [traphandler] Enable arm64 simulator support for Mac · 11a15e7f
    Clemens Backes authored
    This ports https://crrev.com/c/3040844 to also work on Mac. All that's
    needed is minor tweaks to the inline assembly. The inline assembly is
    stripped down to what's actually needed. I didn't find documentation on
    ".pushsection" and ".popsection" on Mac. Since we do not have this on
    other inline assembly (e.g. src/heap/base/asm/x64/push_registers_asm.cc)
    removing this here does not regress the status quo. If this ever causes
    problems, we will have to consistently add it everywhere.
    
    The new code paths are tested by the v8_mac_arm64* CQ bots, and the
    "V8 Mac - arm64 - sim - {debug,release}" waterfall bots.
    
    R=ahaas@chromium.org, mseaborn@chromium.org
    
    Bug: v8:11955
    Change-Id: If0b78a2d2a8b365c1c77b171de0591452e4bbeec
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3063500Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#76060}
    11a15e7f
trap-handler.h 5.5 KB