diff options
author | Zachary Turner <zturner@google.com> | 2017-02-25 01:20:08 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-02-25 01:20:08 +0000 |
commit | 3e2b6925b96788e577f5969ba394dea98e9b8586 (patch) | |
tree | df7bc9f38329504af5e759e5b591f75222890eab /llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp | |
parent | f003cd3344e87604a44d147058570761cd6ce133 (diff) | |
download | bcm5719-llvm-3e2b6925b96788e577f5969ba394dea98e9b8586.tar.gz bcm5719-llvm-3e2b6925b96788e577f5969ba394dea98e9b8586.zip |
Re-enable BinaryStreamTest.StreamReaderObject.
I had an invalid pointer / size calculation that was causing
a stack smash. Should be fixed now.
llvm-svn: 296220
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp index 9a713efd5be..fc938d4418d 100644 --- a/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp @@ -37,7 +37,7 @@ public: uint32_t block_size() const { return 1; } uint32_t block_count() const { return Blocks.size(); } - endianness getEndian() const { return little; } + endianness getEndian() const override { return little; } Error readBytes(uint32_t Offset, uint32_t Size, ArrayRef<uint8_t> &Buffer) override { |