v8/src/deoptimizer
Georgia Kouveli ea82d0311b [arm64] Use BTI instructions for forward CFI
Generate a BTI instruction at each target of an indirect branch
(BR/BLR). An indirect branch that doesn't jump to a BTI instruction
will generate an exception on a BTI-enabled core. On cores that do
not support the BTI extension, the BTI instruction is a NOP.

Targets of indirect branch instructions include, among other things,
function entrypoints, exception handlers and jump tables. Lazy deopt
exits can potentially be reached through an indirect branch when an
exception is thrown, so they also get an additional BTI instruction.

Bug: v8:10026
Change-Id: I0ebf51071f1b604f60f524096e013dfd64fcd7ff
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1967315
Commit-Queue: Georgia Kouveli <georgia.kouveli@arm.com>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66751}
2020-03-17 17:52:28 +00:00
..
arm [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
arm64 [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
ia32 [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
mips [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
mips64 [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
ppc [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
s390 [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
x64 [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
deoptimize-reason.cc Reland "Move deoptimizer files" 2019-05-20 13:01:13 +00:00
deoptimize-reason.h [Turbofan] Allow CallIC to be polymorphic for same SharedFunctionInfos 2020-02-29 09:09:42 +00:00
deoptimizer.cc [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
deoptimizer.h [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
OWNERS Remove mstarzinger@ from OWNERS files. 2019-12-13 11:13:14 +00:00