forked from OSchip/llvm-project
[yaml2obj] format some codes NFC.
Summary: This line is longer than 80 characters. Subscribers: llvm-commits, jakehehrlich Differential Revision: https://reviews.llvm.org/D55419 llvm-svn: 348580
This commit is contained in:
parent
20e44ec74c
commit
bac7864a53
|
@ -685,7 +685,8 @@ template <class ELFT> bool ELFState<ELFT>::hasDynamicSymbols() const {
|
|||
Doc.DynamicSymbols.Local.size() > 0;
|
||||
}
|
||||
|
||||
template <class ELFT> SmallVector<const char *, 5> ELFState<ELFT>::implicitSectionNames() const {
|
||||
template <class ELFT>
|
||||
SmallVector<const char *, 5> ELFState<ELFT>::implicitSectionNames() const {
|
||||
if (!hasDynamicSymbols())
|
||||
return {".symtab", ".strtab", ".shstrtab"};
|
||||
return {".symtab", ".strtab", ".shstrtab", ".dynsym", ".dynstr"};
|
||||
|
|
Loading…
Reference in New Issue