diff options
| author | Filipe Cabecinhas <me@filcab.net> | 2015-05-19 18:18:10 +0000 |
|---|---|---|
| committer | Filipe Cabecinhas <me@filcab.net> | 2015-05-19 18:18:10 +0000 |
| commit | fc93be21ea654d2c7ae5c8676caad9316f4fb555 (patch) | |
| tree | 896e6d123cdad0b74af6f2f1fd0f0424aa3f59c6 /llvm/test/Bitcode | |
| parent | c5e0d4d146bed47b4e306b8f9fa0a2766d14a641 (diff) | |
| download | bcm5719-llvm-fc93be21ea654d2c7ae5c8676caad9316f4fb555.tar.gz bcm5719-llvm-fc93be21ea654d2c7ae5c8676caad9316f4fb555.zip | |
Change a reachable unreachable to a fatal error.
Summary:
Also tagged a FIXME comment, and added information about why it breaks.
Bug found using AFL fuzz.
Reviewers: rafael, craig.topper
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D9729
llvm-svn: 237709
Diffstat (limited to 'llvm/test/Bitcode')
| -rw-r--r-- | llvm/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc | bin | 0 -> 371 bytes | |||
| -rw-r--r-- | llvm/test/Bitcode/invalid.test | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc b/llvm/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc Binary files differnew file mode 100644 index 00000000000..7e32f8b0774 --- /dev/null +++ b/llvm/test/Bitcode/Inputs/invalid-fixme-streaming-blob.bc diff --git a/llvm/test/Bitcode/invalid.test b/llvm/test/Bitcode/invalid.test index 7a2dbdcc1b3..f609d043df4 100644 --- a/llvm/test/Bitcode/invalid.test +++ b/llvm/test/Bitcode/invalid.test @@ -157,3 +157,8 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-function-argument-type.bc 2> RUN: FileCheck --check-prefix=INVALID-ARGUMENT-TYPE %s INVALID-ARGUMENT-TYPE: Invalid function argument type + +RUN: not llvm-dis -disable-output %p/Inputs/invalid-fixme-streaming-blob.bc 2>&1 | \ +RUN: FileCheck --check-prefix=STREAMING-BLOB %s + +STREAMING-BLOB: getPointer in streaming memory objects not allowed |

