summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-07-11 10:53:40 +0000
committerFlorian Hahn <flo@fhahn.com>2019-07-11 10:53:40 +0000
commit3b9994615f484d028ab476cf31bf6e62558364e8 (patch)
tree63e6d7abf1a3bce2700948ad3af98c812a6fe5a9 /llvm/test/Bitcode/Inputs
parentc05f67712db20abb5e236f9961aeb0710ccaa436 (diff)
downloadbcm5719-llvm-3b9994615f484d028ab476cf31bf6e62558364e8.tar.gz
bcm5719-llvm-3b9994615f484d028ab476cf31bf6e62558364e8.zip
Revert [BitcodeReader] Validate OpNum, before accessing Record array.
This reverts r365750 (git commit 8b222ecf2769ee133691f208f6166ce118c4a164) llvm-dis runs out of memory while opening invalid-fcmp-opnum.bc on llvm-hexagon-elf, probably because the bitcode file contains other suspicious values. http://lab.llvm.org:8011/builders/llvm-hexagon-elf/builds/21949 llvm-svn: 365757
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-fcmp-opnum.bcbin908 -> 0 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-fcmp-opnum.bc b/llvm/test/Bitcode/Inputs/invalid-fcmp-opnum.bc
deleted file mode 100644
index 454a14b8611..00000000000
--- a/llvm/test/Bitcode/Inputs/invalid-fcmp-opnum.bc
+++ /dev/null
Binary files differ
OpenPOWER on IntegriCloud