OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
650fa7d
)
[llvm-pdbdump] Fix version reading on big endian systems.
author
Zachary Turner
<zturner@google.com>
Tue, 26 Apr 2016 19:48:18 +0000
(19:48 +0000)
committer
Zachary Turner
<zturner@google.com>
Tue, 26 Apr 2016 19:48:18 +0000
(19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267595
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
patch
|
blob
|
history
diff --git
a/lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
b/lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
index
8b12eea
..
fdf3247
100644
(file)
--- a/
lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
+++ b/
lib/DebugInfo/PDB/Raw/PDBInfoStream.cpp
@@
-19,7
+19,8
@@
std::error_code PDBInfoStream::reload() {
Stream1.setOffset(0);
support::ulittle32_t Value;
- Stream1.readObject(&Version);
+ Stream1.readObject(&Value);
+ Version = Value;
if (Version < PdbRaw_ImplVer::PdbImplVC70)
return std::make_error_code(std::errc::not_supported);