[PATCH] D87258: [WebAssembly, LowerTypeTests] Fix control-flow integrity support
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 09:31:03 PDT 2020
dschuff added a comment.
Hi, nice to hear from you, and thanks for the patch! I'm going to have to try to page-in all the vague knowledge I have about CFI, because I think it would be really good to get this working for real.
One thing that's happened since you did all of this originally is multiple-table support; the reference-types proposal includes multiple tables, has been standardized, and will soon be (or is already?) available in all the browsers. IIRC you originally did both a version with and without multiple-tables, but I forget how much of that was in s2wasm vs in LLVM. IMO we should just make CFI require multiple tables, and then we can dedicate as many tables for whatever purposes we like.
I assume that we'll still need the core functionality of this CL, which is having the table layout be determined at IPO time rather than being assigned by the objectWriter/linker?
Can you remind me of what the state was for multiple-table support when you originally wrote all this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87258/new/
https://reviews.llvm.org/D87258
More information about the llvm-commits
mailing list