SafeStack: Fix blink v8 initialization
Currently, the blink v8 initialization code uses a stack address-taken variable to read the stack position. This fails with SafeStack because it reads an address on the unsafe stack. Make it match the code in v8 to read the stack position safely with either ASAN or SafeStack [1] by using a compiler intrinsic. [1] https://crrev.com/c/1162669 Bug: 864705 Change-Id: Ib972540eb0264d9f737eb8bc40c601b8b2cf1ab0 Reviewed-on: https://chromium-review.googlesource.com/1179265Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Vlad Tsyrklevich <vtsyrklevich@chromium.org> Cr-Commit-Position: refs/heads/master@{#585239}
Showing
Please register or sign in to comment