• Jakob Gruber's avatar
    Reland "[snapshot] Align internal snapshot data" · dd8e820c
    Jakob Gruber authored
    This is a reland of 4f9d7a94
    
    Original change's description:
    > [snapshot] Align internal snapshot data
    >
    > When the snapshot blob is not aligned properly, loading it can cause a
    > crash on platforms such as arm.
    >
    > This was exposed by a SIGBUS/BUS_ADRALN crash on arm when accessing
    > the blob_data symbol (declared as a byte array) through a reinterpret
    > cast to uintptr_t in an internal snapshot build.
    >
    > Thanks to florian.dold@gmail.com for the initial patch.
    >
    > Bug: v8:9171
    > Change-Id: I99b071dec3733416f2f01b58a770e30d8f2dcdf2
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1582402
    > Commit-Queue: Dan Elphick <delphick@chromium.org>
    > Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    > Reviewed-by: Dan Elphick <delphick@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#61000}
    
    Tbr: delphick@chromium.org
    Bug: v8:9171
    Change-Id: I36f53647ff5c45bcc512147f082fdd069723175d
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1587377Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61062}
    dd8e820c
Name
Last commit
Last update
..
DEPS Loading commit data...
OWNERS Loading commit data...
code-serializer.cc Loading commit data...
code-serializer.h Loading commit data...
deserializer-allocator.cc Loading commit data...
deserializer-allocator.h Loading commit data...
deserializer.cc Loading commit data...
deserializer.h Loading commit data...
embedded-data.cc Loading commit data...
embedded-data.h Loading commit data...
embedded-empty.cc Loading commit data...
embedded-file-writer.cc Loading commit data...
embedded-file-writer.h Loading commit data...
mksnapshot.cc Loading commit data...
natives-common.cc Loading commit data...
natives-external.cc Loading commit data...
natives.h Loading commit data...
object-deserializer.cc Loading commit data...
object-deserializer.h Loading commit data...
partial-deserializer.cc Loading commit data...
partial-deserializer.h Loading commit data...
partial-serializer.cc Loading commit data...
partial-serializer.h Loading commit data...
read-only-deserializer.cc Loading commit data...
read-only-deserializer.h Loading commit data...
read-only-serializer.cc Loading commit data...
read-only-serializer.h Loading commit data...
references.h Loading commit data...
roots-serializer.cc Loading commit data...
roots-serializer.h Loading commit data...
serializer-allocator.cc Loading commit data...
serializer-allocator.h Loading commit data...
serializer-common.cc Loading commit data...
serializer-common.h Loading commit data...
serializer.cc Loading commit data...
serializer.h Loading commit data...
snapshot-common.cc Loading commit data...
snapshot-empty.cc Loading commit data...
snapshot-external.cc Loading commit data...
snapshot-source-sink.cc Loading commit data...
snapshot-source-sink.h Loading commit data...
snapshot.h Loading commit data...
startup-deserializer.cc Loading commit data...
startup-deserializer.h Loading commit data...
startup-serializer.cc Loading commit data...
startup-serializer.h Loading commit data...