search for: getstreamedbitcodemodul

Displaying 1 result from an estimated 1 matches for "getstreamedbitcodemodul".

2014 Dec 19
2
[LLVMdev] [Patches][RFC] What to do about bitcode streaming.
...72f636..3e21164 100644 > --- a/tools/llvm-dis/llvm-dis.cpp > +++ b/tools/llvm-dis/llvm-dis.cpp > @@ -135,12 +205,13 @@ int main(int argc, char **argv) { > else > DisplayFilename = InputFilename; > ErrorOr<std::unique_ptr<Module>> MOrErr = > - getStreamedBitcodeModule(DisplayFilename, Streamer, Context); > + getStreamedBitcodeModule(DisplayFilename, std::move(Streamer), Context); > if (std::error_code EC = MOrErr.getError()) > ErrorMessage = EC.message(); > else > M = std::move(*MOrErr); > if(M.get()) { >...