diff options
author | Fangrui Song <maskray@google.com> | 2020-02-25 15:02:04 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-26 08:56:12 -0800 |
commit | 423194098b88dfea86cca6f8e203e9d88f70abc9 (patch) | |
tree | 8e7518ad4286f8d4972a12892b5554ed6ce53424 /llvm/tools/llvm-diff/DifferenceEngine.cpp | |
parent | 2011d14296eeaae911e898d11154ee5d1a5db1d6 (diff) | |
download | llvm-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