From 88eb534517a3fbd4104bf788518e783e68d99bd9 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Sat, 30 Aug 2014 17:07:55 +0000 Subject: Teach llvm-bcanalyzer to use one stream's BLOCKINFO to read another stream. This allows streams that only use BLOCKINFO for debugging purposes to omit the block entirely. As long as another stream is available with the correct BLOCKINFO, the first stream can still be analyzed and dumped. As part of this commit, BitstreamReader gets a move constructor and move assignment operator, as well as a takeBlockInfo method. llvm-svn: 216826 --- llvm/test/Bitcode/function-encoding-rel-operands.ll | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/test/Bitcode') diff --git a/llvm/test/Bitcode/function-encoding-rel-operands.ll b/llvm/test/Bitcode/function-encoding-rel-operands.ll index 08e3fc01805..24d6d808286 100644 --- a/llvm/test/Bitcode/function-encoding-rel-operands.ll +++ b/llvm/test/Bitcode/function-encoding-rel-operands.ll @@ -48,3 +48,5 @@ entry: %2 = icmp eq i32 %1, %a ret i1 %2 } + +; CHECK: Stream type: LLVM IR -- cgit v1.2.3