From d66889cbae749ceffca88f094274e2d64c2cb8f8 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 28 Jul 2016 19:12:28 +0000 Subject: [pdb] Refactor library to more clearly separate reading/writing Reviewed By: amccarth, ruiu Differential Revision: https://reviews.llvm.org/D22693 llvm-svn: 277019 --- llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp') diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 7e8f46b0a2a..874a154a954 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -475,7 +475,7 @@ void CodeViewDebug::emitTypeInformation() { // comments. The MSVC linker doesn't do much type record validation, // so the first link of an invalid type record can succeed while // subsequent links will fail with LNK1285. - ByteStream<> Stream({Record.bytes_begin(), Record.bytes_end()}); + ByteStream Stream({Record.bytes_begin(), Record.bytes_end()}); CVTypeArray Types; StreamReader Reader(Stream); Error E = Reader.readArray(Types, Reader.getLength()); -- cgit v1.2.3