llvm-project/llvm/tools/llvm-objcopy
George Rimar 17dbb19f70 [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
2019-05-08 07:31:05 +00:00
..
COFF [Object] Change getSectionName() to return Expected<StringRef> 2019-05-02 10:32:03 +00:00
ELF [llvm-objcopy] - Fix for "Bug 41775 - SymbolTableSection::addSymbol - shadow variable names" 2019-05-08 07:31:05 +00:00
MachO [llvm-objcopy][NFC] Remove unnecessary llvm-objcopy.h #includes 2019-03-13 23:40:16 +00:00
Buffer.cpp [llvm-objcopy][NFC] Remove unnecessary llvm-objcopy.h #includes 2019-03-13 23:40:16 +00:00
Buffer.h [llvm-objcopy] Fix crash when writing empty binary output 2019-01-28 15:02:40 +00:00
CMakeLists.txt [llvm-objcopy] Add ability to copy MachO object files 2019-02-02 00:38:07 +00:00
CopyConfig.cpp Let --discard-all imply --strip-debug. 2019-05-03 14:14:01 +00:00
CopyConfig.h [llvm-objcopy][llvm-strip] Add switch to allow removing referenced sections 2019-04-18 09:13:30 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ObjcopyOpts.td [llvm-objcopy] Accept --long-option but not -long-option 2019-04-26 02:10:10 +00:00
StripOpts.td [llvm-strip]Add --no-strip-all to disable --strip-all behaviour (including default stripping) 2019-05-02 11:53:02 +00:00
llvm-objcopy.cpp [llvm-objcopy][NFC] More error cleanup 2019-02-21 17:05:19 +00:00
llvm-objcopy.h Small refactoring of FileError. NFC. 2019-02-11 09:49:37 +00:00