[PATCH] D91781: [VE] Add regression test for D91151

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 10:58:34 PST 2020


dblaikie added a comment.

In D91781#2405239 <https://reviews.llvm.org/D91781#2405239>, @kaz7 wrote:

> Hi, @dblaikie.  I generated a test case which causes a segmentation fault if we didn't apply D91151 <https://reviews.llvm.org/D91151> (https://reviews.llvm.org/D91151) following your suggestion.  I appreciate if you have more suggestions.

Were you testing with assertions enabled? I'd expect a test case to cause an assertion failure (when the "cast" was applied to an object that wasn't the intended type) rather than a segmentation fault.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91781



More information about the llvm-commits mailing list