• Georgia Kouveli's avatar
    [arm64][cfi] Skip authenticating return addresses in the profiler · bf383a87
    Georgia Kouveli authored
    The SafeStackFrameIterator, used in the profiler, sometimes uses the
    link register instead of a return address stored on the stack, to get
    more accurate results. This happens in particular for bytecode handlers
    that do not create a stack frame. Authentication of PC for those frames
    would fail in the SafeStackFrameIterator, as the "PC address" would not
    point to a stack location with a signed return address, but instead to
    a member of the SafeStackFrameIterator class where the value of the link
    register was stored. We address this by skipping authentication of PCs
    in the profiler.
    
    Bug: v8:10026
    Change-Id: I331c6c68e703db766be1891efffa69c2f9794e8a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2242954Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
    Commit-Queue: Georgia Kouveli <georgia.kouveli@arm.com>
    Cr-Commit-Position: refs/heads/master@{#68388}
    bf383a87
Name
Last commit
Last update
..
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...