forked from OSchip/llvm-project
[NFC] clang-format cleanup of a couple files in llvm-objcopy.
llvm-svn: 338752
This commit is contained in:
parent
910f70238c
commit
97604b4f09
|
@ -725,8 +725,7 @@ void ELFBuilder<ELFT>::initSymbolTable(SymbolTableSection *SymTab) {
|
|||
Elf_Word Index = ShndxData[&Sym - Symbols.begin()];
|
||||
DefSection = Obj.sections().getSection(
|
||||
Index,
|
||||
"Symbol '" + Name + "' has invalid section index " +
|
||||
Twine(Index));
|
||||
"Symbol '" + Name + "' has invalid section index " + Twine(Index));
|
||||
} else if (Sym.st_shndx >= SHN_LORESERVE) {
|
||||
if (!isValidReservedSectionIndex(Sym.st_shndx, Obj.Machine)) {
|
||||
error(
|
||||
|
|
|
@ -601,7 +601,8 @@ static Error deepWriteArchive(StringRef ArcName,
|
|||
return Error::success();
|
||||
}
|
||||
|
||||
static void ExecuteElfObjcopyOnArchive(const CopyConfig &Config, const Archive &Ar) {
|
||||
static void ExecuteElfObjcopyOnArchive(const CopyConfig &Config,
|
||||
const Archive &Ar) {
|
||||
std::vector<NewArchiveMember> NewArchiveMembers;
|
||||
Error Err = Error::success();
|
||||
for (const Archive::Child &Child : Ar.children(Err)) {
|
||||
|
|
Loading…
Reference in New Issue