diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-05-08 07:31:05 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-05-08 07:31:05 +0000 |
commit | 17dbb19f704d7903ca04494e4c7b459db034bf00 (patch) | |
tree | 5711e3e13e54d1a70acc9529a06d7b3d0affcd78 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | e065af6a42a9b7de22e995ccb53fa82bd86d883c (diff) | |
download | llvm-17dbb19f704d7903ca04494e4c7b459db034bf00.zip llvm-17dbb19f704d7903ca04494e4c7b459db034bf00.tar.gz llvm-17dbb19f704d7903ca04494e4c7b459db034bf00.tar.bz2 |
[llvm-objcopy] - Fix for "Bug 41775 - SymbolTableSection::addSymbol - shadow variable names"
This is a fix for https://bugs.llvm.org/show_bug.cgi?id=41775,
Problem is in the final line:
Size += this->EntrySize;
I checked that we do not actually need it in this place,
since we always call removeSectionReferences which
calls removeSymbols which updates the Size.
But it worth to keep it, that allows to relax the dependencies.
Differential revision: https://reviews.llvm.org/D61636
llvm-svn: 360227
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions