• Simon Zünd's avatar
    [stack trace] Change API to use new StackTraceFrame class · e295ca07
    Simon Zünd authored
    This CL changes "CaptureCurrentStackTrace" to use the
    FrameArrayBuilder. This way, simple and detailed stack traces use
    the same mechanism to capture stack traces.
    
    The stack trace API is implemented using the previously introduced
    StackTraceFrame class, which uses FrameArray as a backing store and
    can lazily initialize StackFrameInfo objects.
    
    R=jgruber@chromium.org, yangguo@chromium.org
    
    Bug: v8:8742
    Change-Id: I716a9baa33d9ca1d2ef41a73fba26234a03b045b
    Reviewed-on: https://chromium-review.googlesource.com/c/1469822
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59651}
    e295ca07
api-inl.h 5.69 KB