summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-04-15 08:48:08 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-04-15 08:48:08 +0000
commit7dc896fccea25fd48d1bf44228ea4848ff8ebcfa (patch)
treebc21e55ba804f5c4bca08c589fda48bbdd05aa33 /llvm/test/Bitcode/Inputs
parentc640ff63e236d48d90a29f548799ea8342a7aa04 (diff)
downloadbcm5719-llvm-7dc896fccea25fd48d1bf44228ea4848ff8ebcfa.tar.gz
bcm5719-llvm-7dc896fccea25fd48d1bf44228ea4848ff8ebcfa.zip
Verify sizes when trying to read a VBR
Also added an assert to ReadVBR64. llvm-svn: 234984
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-VBR-too-big.bcbin0 -> 612 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-VBR-too-big.bc b/llvm/test/Bitcode/Inputs/invalid-VBR-too-big.bc
new file mode 100644
index 00000000000..35d00ba154b
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/invalid-VBR-too-big.bc
Binary files differ
OpenPOWER on IntegriCloud