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

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 25 15:01:20 PDT 2018


eugenis added a comment.

I think a better API would be something like ObjectFile::symbols() - a content_iterator<PltRef>, where PltRef would be a DataRefImpl to the start of the current plt entry.
You don't really need to pull in the disassembler to parse the entry, you can just match bytes for known entry type(s) and extract the immediate offset.


https://reviews.llvm.org/D49383





More information about the llvm-commits mailing list