LLVM
8.0.1
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
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
a
b
c
d
e
f
g
h
i
j
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
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
y
z
+
Related Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
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
l
m
o
p
r
s
t
u
v
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
+
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
lib
MC
MCDisassembler
MCRelocationInfo.cpp
Go to the documentation of this file.
1
//===-- MCRelocationInfo.cpp ----------------------------------------------===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#include "
llvm/MC/MCDisassembler/MCRelocationInfo.h
"
11
#include "
llvm-c/Disassembler.h
"
12
#include "
llvm/Support/TargetRegistry.h
"
13
14
using namespace
llvm
;
15
16
MCRelocationInfo::MCRelocationInfo
(
MCContext
&Ctx) : Ctx(Ctx) {}
17
18
MCRelocationInfo::~MCRelocationInfo
() =
default
;
19
20
const
MCExpr
*
21
MCRelocationInfo::createExprForCAPIVariantKind
(
const
MCExpr
*SubExpr,
22
unsigned
VariantKind) {
23
if
(VariantKind !=
LLVMDisassembler_VariantKind_None
)
24
return
nullptr
;
25
return
SubExpr;
26
}
27
28
MCRelocationInfo
*
llvm::createMCRelocationInfo
(
const
Triple
&TT,
29
MCContext
&
Ctx
) {
30
return
new
MCRelocationInfo
(Ctx);
31
}
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
Disassembler.h
MCRelocationInfo.h
llvm::MCRelocationInfo::Ctx
MCContext & Ctx
Definition:
MCRelocationInfo.h:27
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition:
MCExpr.h:36
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::MCRelocationInfo::~MCRelocationInfo
virtual ~MCRelocationInfo()
llvm::createMCRelocationInfo
MCRelocationInfo * createMCRelocationInfo(const Triple &TT, MCContext &Ctx)
Definition:
MCRelocationInfo.cpp:28
LLVMDisassembler_VariantKind_None
#define LLVMDisassembler_VariantKind_None
The operand VariantKinds for symbolic disassembly.
Definition:
DisassemblerTypes.h:82
llvm::MCRelocationInfo
Create MCExprs from relocations found in an object file.
Definition:
MCRelocationInfo.h:25
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition:
Triple.h:44
llvm::MCRelocationInfo::createExprForCAPIVariantKind
virtual const MCExpr * createExprForCAPIVariantKind(const MCExpr *SubExpr, unsigned VariantKind)
Create an MCExpr for the target-specific VariantKind.
Definition:
MCRelocationInfo.cpp:21
TargetRegistry.h
llvm::MCRelocationInfo::MCRelocationInfo
MCRelocationInfo(MCContext &Ctx)
Definition:
MCRelocationInfo.cpp:16
Generated on Sun Dec 20 2020 13:55:43 for LLVM by
1.8.13