• Pierre Langlois's avatar
    [arm64] Mark std::printf as an external reference · 3dfb90b6
    Pierre Langlois authored
    Arm64's implementation of `TurboAssembler::Abort()` supports printing the
    bailout reason to the standard output without calling to the runtime. For this
    to work, we need access to the host's printf function so we can call it
    directly. In the general case, `Abort` does call the runtime, however, we cannot
    do it if we want to abort from inside CEntryStub.
    
    Bug: v8:6939
    Change-Id: I2a57603cdc182a45cf770f405bd6ae449f40a047
    Reviewed-on: https://chromium-review.googlesource.com/730746Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
    Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
    Cr-Commit-Position: refs/heads/master@{#48790}
    3dfb90b6
macro-assembler-arm64.h 94 KB