[PATCH] D64577: [BitcodeReader] Use tighter upper bound to validate forward references.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 11:24:35 PDT 2019


fhahn marked an inline comment as done.
fhahn added inline comments.


================
Comment at: llvm/test/Bitcode/pr18704.ll:3
 
-; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Never resolved value found in function
+; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Invalid record
 
----------------
The invalid forward reference in this test is covered by the upper bound check now. Is there a tool that can take the output of llvm-bcanalyzer like in the test case and create a bitcode file?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64577/new/

https://reviews.llvm.org/D64577





More information about the llvm-commits mailing list