[PATCH] D49383: [cfi-verify] Support cross-DSO by treating certain calls as traps.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 15:45:14 PDT 2018


pcc added a comment.

In https://reviews.llvm.org/D49383#1175928, @eugenis wrote:

> By the state to be tracked, do you mean an index of .got.plt relocations by address?


Yes as well as the list of PLT entries. Otherwise we'd end up with some of the state belonging to the target-dependent code (i.e. my `findPltEntries` would need to be replaced with APIs for getting the first/next PLT with state passed in) and that could get complicated.


https://reviews.llvm.org/D49383





More information about the llvm-commits mailing list