[PATCH] D46896: [llvm-objcopy] Add --strip-unneeded option
Paul Semel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 04:01:59 PDT 2018
paulsemel marked an inline comment as done.
paulsemel added inline comments.
================
Comment at: tools/llvm-objcopy/Object.h:468
void setSymTab(const SymbolTableSection *SymTabSec) { SymTab = SymTabSec; }
- void setSymbol(const Symbol *S) { Sym = S; }
+ void setSymbol(Symbol *S) { Sym = S; ++Sym->RelocRefs; }
void setFlagWord(ELF::Elf32_Word W) { FlagWord = W; }
----------------
jhenderson wrote:
> Is this really how clang-format formats this?
Oups.. probably missed my clang-format.. sorry about it !
Repository:
rL LLVM
https://reviews.llvm.org/D46896
More information about the llvm-commits
mailing list