Path: blob/main/contrib/llvm-project/llvm/lib/ObjCopy/Archive.h
35234 views
//===- Archive.h ------------------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_OBJCOPY_ARCHIVE_H9#define LLVM_LIB_OBJCOPY_ARCHIVE_H1011#include "llvm/Object/ArchiveWriter.h"12#include "llvm/Support/Error.h"13#include <vector>1415namespace llvm {16namespace objcopy {1718class MultiFormatConfig;1920/// Applies the transformations described by \p Config to21/// each member in archive \p Ar.22/// \returns Vector of transformed archive members.23Expected<std::vector<NewArchiveMember>>24createNewArchiveMembers(const MultiFormatConfig &Config,25const object::Archive &Ar);2627} // end namespace objcopy28} // end namespace llvm2930#endif // LLVM_LIB_OBJCOPY_ARCHIVE_H313233