LLVM
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
include
llvm
ObjCopy
MultiFormatConfig.h
Go to the documentation of this file.
1
//===- MultiFormatConfig.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_OBJCOPY_MULTIFORMATCONFIG_H
10
#define LLVM_OBJCOPY_MULTIFORMATCONFIG_H
11
12
#include "
llvm/Support/Error.h
"
13
14
namespace
llvm
{
15
namespace
objcopy {
16
17
struct
CommonConfig;
18
struct
ELFConfig;
19
struct
COFFConfig;
20
struct
MachOConfig;
21
struct
WasmConfig;
22
struct
XCOFFConfig;
23
24
class
MultiFormatConfig
{
25
public
:
26
virtual
~MultiFormatConfig
() {}
27
28
virtual
const
CommonConfig
&
getCommonConfig
()
const
= 0;
29
virtual
Expected<const ELFConfig &>
getELFConfig
()
const
= 0;
30
virtual
Expected<const COFFConfig &>
getCOFFConfig
()
const
= 0;
31
virtual
Expected<const MachOConfig &>
getMachOConfig
()
const
= 0;
32
virtual
Expected<const WasmConfig &>
getWasmConfig
()
const
= 0;
33
virtual
Expected<const XCOFFConfig &>
getXCOFFConfig
()
const
= 0;
34
};
35
36
}
// namespace objcopy
37
}
// namespace llvm
38
39
#endif
// LLVM_OBJCOPY_MULTIFORMATCONFIG_H
llvm::Expected
Tagged union holding either a T or a Error.
Definition:
Error.h:481
llvm::objcopy::MultiFormatConfig
Definition:
MultiFormatConfig.h:24
llvm::objcopy::MultiFormatConfig::getXCOFFConfig
virtual Expected< const XCOFFConfig & > getXCOFFConfig() const =0
llvm::objcopy::MultiFormatConfig::getWasmConfig
virtual Expected< const WasmConfig & > getWasmConfig() const =0
llvm::objcopy::MultiFormatConfig::getELFConfig
virtual Expected< const ELFConfig & > getELFConfig() const =0
llvm::objcopy::MultiFormatConfig::getCOFFConfig
virtual Expected< const COFFConfig & > getCOFFConfig() const =0
llvm::objcopy::MultiFormatConfig::getMachOConfig
virtual Expected< const MachOConfig & > getMachOConfig() const =0
llvm::objcopy::MultiFormatConfig::getCommonConfig
virtual const CommonConfig & getCommonConfig() const =0
llvm::objcopy::MultiFormatConfig::~MultiFormatConfig
virtual ~MultiFormatConfig()
Definition:
MultiFormatConfig.h:26
Error.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::objcopy::CommonConfig
Definition:
CommonConfig.h:207
Generated on Tue Apr 8 2025 10:46:22 for LLVM by
1.9.6