LLVM
20.0.0git
lib
ObjCopy
Archive.h
Go to the documentation of this file.
1
//===- Archive.h ------------------------------------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_LIB_OBJCOPY_ARCHIVE_H
10
#define LLVM_LIB_OBJCOPY_ARCHIVE_H
11
12
#include "
llvm/Object/ArchiveWriter.h
"
13
#include "
llvm/Support/Error.h
"
14
#include <vector>
15
16
namespace
llvm
{
17
namespace
objcopy {
18
19
class
MultiFormatConfig;
20
21
/// Applies the transformations described by \p Config to
22
/// each member in archive \p Ar.
23
/// \returns Vector of transformed archive members.
24
Expected<std::vector<NewArchiveMember>>
25
createNewArchiveMembers
(
const
MultiFormatConfig &
Config
,
26
const
object::Archive &Ar);
27
28
}
// end namespace objcopy
29
}
// end namespace llvm
30
31
#endif
// LLVM_LIB_OBJCOPY_ARCHIVE_H
ArchiveWriter.h
Config
RelaxConfig Config
Definition:
ELF_riscv.cpp:506
Error.h
llvm::objcopy::createNewArchiveMembers
Expected< std::vector< NewArchiveMember > > createNewArchiveMembers(const MultiFormatConfig &Config, const Archive &Ar)
Applies the transformations described by Config to each member in archive Ar.
Definition:
Archive.cpp:24
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Nov 24 2024 05:50:26 for LLVM by
1.9.6