summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-07-28 19:12:28 +0000
committerZachary Turner <zturner@google.com>2016-07-28 19:12:28 +0000
commitd66889cbae749ceffca88f094274e2d64c2cb8f8 (patch)
tree81e34f9af216751ced0d50609d558d2f15277b46 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent199f48a5f0d5aee8737880a78d81216d60cf785d (diff)
downloadbcm5719-llvm-d66889cbae749ceffca88f094274e2d64c2cb8f8.tar.gz
bcm5719-llvm-d66889cbae749ceffca88f094274e2d64c2cb8f8.zip
[pdb] Refactor library to more clearly separate reading/writing
Reviewed By: amccarth, ruiu Differential Revision: https://reviews.llvm.org/D22693 llvm-svn: 277019
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 1 insertions, 1 deletions
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());
OpenPOWER on IntegriCloud