[PATCH] D49304: [cfi-verify] Abort on unsupported targets

Joel Galenson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 09:59:37 PDT 2018


jgalenson created this revision.
jgalenson added reviewers: vlad.tsyrklevich, pcc.
Herald added a reviewer: javed.absar.
Herald added a subscriber: llvm-commits.

As suggested in the review for r337007, this makes cfi-verify abort on unsupported targets instead of producing incorrect results.  It also updates the design document to reflect this.

Note that I'm not sure if 32-bit x86 is supported.  We don't seem to have any tests for it, but I tried a toy example and it worked, so I left it there.  What do you think?


Repository:
  rL LLVM

https://reviews.llvm.org/D49304

Files:
  docs/CFIVerify.rst
  test/tools/llvm-cfi-verify/Unsupported/arm-protected-lineinfo.s
  test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg
  tools/llvm-cfi-verify/lib/FileAnalysis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49304.155415.patch
Type: text/x-patch
Size: 6258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180713/b403f23a/attachment.bin>


More information about the llvm-commits mailing list