• Clemens Backes's avatar
    [traphandler] Add arm64 simulator support on Windows · 367f86de
    Clemens Backes authored
    This ports the trap handler implementation for the arm64 simulator
    from POSIX to Windows. Apart from different registers being used
    for passing parameters, and different access to these register
    values in the signal handler, the implementation is exactly the same.
    
    The new logic is being used for sanitizer builds which automatically
    target arm64 via the simulator, or if manually compiling an arm64
    simulator build on x64. I manually tested the latter.
    
    Also, the existing unit test is enabled for Mac (which was missing)
    and Windows now.
    
    R=ahaas@chromium.org, mseaborn@chromium.org
    
    Bug: v8:11955
    Cq-Include-Trybots: luci.v8.try:v8_win64_asan_rel_ng
    Cq-Include-Trybots: luci.v8.try:v8_mac64_asan_rel_ng
    Change-Id: Ia62405b28808a3cc9f199e3f43a45ffc4bda491b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3163256
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76902}
    367f86de
handler-outside-simulator.cc 1.6 KB