[PATCH] D39379: Make 32-bit member offset in Archive::Symbol::getMember 64-bit
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 14:48:10 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL316801: Make 32-bit member offset in Archive::Symbol::getMember 64-bit (authored by jakehehrlich).
Changed prior to commit:
https://reviews.llvm.org/D39379?vs=120665&id=120703#toc
Repository:
rL LLVM
https://reviews.llvm.org/D39379
Files:
llvm/trunk/lib/Object/Archive.cpp
Index: llvm/trunk/lib/Object/Archive.cpp
===================================================================
--- llvm/trunk/lib/Object/Archive.cpp
+++ llvm/trunk/lib/Object/Archive.cpp
@@ -801,7 +801,7 @@
Offsets += sizeof(uint64_t);
else
Offsets += sizeof(uint32_t);
- uint32_t Offset = 0;
+ uint64_t Offset = 0;
if (Parent->kind() == K_GNU) {
Offset = read32be(Offsets + SymbolIndex * 4);
} else if (Parent->kind() == K_GNU64) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39379.120703.patch
Type: text/x-patch
Size: 457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171027/2aa85469/attachment.bin>
More information about the llvm-commits
mailing list