This repository was archived by the owner on Feb 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Expand file tree Collapse file tree 3 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -3054,9 +3054,7 @@ std::error_code BitcodeReader::rememberAndSkipFunctionBodies() {
3054
3054
3055
3055
if (Stream.AtEndOfStream ()) return error (" Could not find function in stream" );
3056
3056
3057
- if (!SeenFirstFunctionBody)
3058
- return error (" Trying to materialize functions before seeing function blocks" );
3059
-
3057
+ assert (SeenFirstFunctionBody);
3060
3058
// An old bitcode file with the symbol table at the end would have
3061
3059
// finished the parse greedily.
3062
3060
assert (SeenValueSymbolTable);
Original file line number Diff line number Diff line change @@ -207,8 +207,3 @@ RUN: not llvm-dis -disable-output %p/Inputs/invalid-alias-type-mismatch.bc 2>&1
207
207
RUN: FileCheck --check-prefix=ALIAS-TYPE-MISMATCH %s
208
208
209
209
ALIAS-TYPE-MISMATCH: Alias and aliasee types don't match
210
-
211
- RUN: not llvm-dis -disable-output %p/Inputs/invalid-no-function-block.bc 2>&1 | \
212
- RUN: FileCheck --check-prefix=NO-FUNCTION-BLOCK %s
213
-
214
- NO-FUNCTION-BLOCK: Trying to materialize functions before seeing function blocks
You can’t perform that action at this time.
0 commit comments