Skip to content

Commit 58f7f07

Browse files
committedNov 9, 2016
Bitcode: Change the BitcodeReader to use llvm::Error internally.
Differential Revision: https://reviews.llvm.org/D26430 llvm-svn: 286323
1 parent 338ef7a commit 58f7f07

File tree

2 files changed

+344
-340
lines changed

2 files changed

+344
-340
lines changed
 

‎llvm/lib/Bitcode/Reader/BitcodeReader.cpp

+343-339
Large diffs are not rendered by default.

‎llvm/test/Bitcode/invalid.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ ALIAS-TYPE-MISMATCH: Alias and aliasee types don't match
209209
RUN: not llvm-dis -disable-output %p/Inputs/invalid-no-function-block.bc 2>&1 | \
210210
RUN: FileCheck --check-prefix=NO-FUNCTION-BLOCK %s
211211

212-
NO-FUNCTION-BLOCK: Trying to materialize functions before seeing function blocks
212+
NO-FUNCTION-BLOCK: Trying to materialize functions before seeing function blocks (Producer: 'LLVM3.8.0git' Reader: 'LLVM
213213

214214
RUN: not llvm-dis -disable-output %p/Inputs/invalid-name-with-0-byte.bc 2>&1 | \
215215
RUN: FileCheck --check-prefix=NAME-WITH-0 %s

0 commit comments

Comments
 (0)
Please sign in to comment.