aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-diff/DifferenceEngine.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-25 15:02:04 -0800
committerFangrui Song <maskray@google.com>2020-02-26 08:56:12 -0800
commit423194098b88dfea86cca6f8e203e9d88f70abc9 (patch)
tree8e7518ad4286f8d4972a12892b5554ed6ce53424 /llvm/tools/llvm-diff/DifferenceEngine.cpp
parent2011d14296eeaae911e898d11154ee5d1a5db1d6 (diff)
downloadllvm-423194098b88dfea86cca6f8e203e9d88f70abc9.zip
llvm-423194098b88dfea86cca6f8e203e9d88f70abc9.tar.gz
llvm-423194098b88dfea86cca6f8e203e9d88f70abc9.tar.bz2
[ELF] --orphan-handling=: don't warn/error for unused synthesized sections
This makes --orphan-handling= less noisy. This change also improves our compatibility with GNU ld. GNU ld special cases .symtab, .strtab and .shstrtab . We need output section descriptions for .symtab, .strtab and .shstrtab to suppress: <internal>:(.symtab) is being placed in '.symtab' <internal>:(.shstrtab) is being placed in '.shstrtab' <internal>:(.strtab) is being placed in '.strtab' With --strip-all, .symtab and .strtab can be omitted (note, --strip-all is not compatible with --emit-relocs). Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D75149
Diffstat (limited to 'llvm/tools/llvm-diff/DifferenceEngine.cpp')
0 files changed, 0 insertions, 0 deletions