LLVM: lib/MC/MCObjectWriter.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
15namespace llvm {
17}
18
19using namespace llvm;
20
22
24
32
35
38 bool InSet) const {
41 false);
42}
43
46 bool IsPCRel) const {
49
50 return &SecA == &SecB;
51}
52
54 FileNames.emplace_back(std::string(FileName), Asm->Symbols.size());
55}
56
58 return Asm->getContext();
59}
60
62 return Asm->getContext().reportError(L, Msg);
63}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
PowerPC TLS Dynamic Call Fixup
Context object for machine code objects.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCSection * getParent() const
LLVM_ABI MCContext & getContext() const
Definition MCObjectWriter.cpp:57
LLVM_ABI void reportError(SMLoc L, const Twine &Msg) const
Definition MCObjectWriter.cpp:61
bool isSymbolRefDifferenceFullyResolved(const MCSymbol &A, const MCSymbol &B, bool InSet) const
Check whether the difference (A - B) between two symbol references is fully resolved.
Definition MCObjectWriter.cpp:36
SmallVector< CGProfileEntry, 0 > CGProfile
virtual bool isSymbolRefDifferenceFullyResolvedImpl(const MCSymbol &SymA, const MCFragment &FB, bool InSet, bool IsPCRel) const
Definition MCObjectWriter.cpp:44
virtual ~MCObjectWriter()
bool SubsectionsViaSymbols
virtual void reset()
lifetime management
Definition MCObjectWriter.cpp:25
virtual void recordRelocation(const MCFragment &F, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue)
Record a relocation entry.
Definition MCObjectWriter.cpp:33
std::vector< const MCSymbol * > AddrsigSyms
MCContext & getContext() const
Definition MCObjectWriter.cpp:23
SmallVector< std::pair< std::string, size_t >, 0 > FileNames
List of declared file names.
void addFileName(StringRef FileName)
Definition MCObjectWriter.cpp:53
Instances of this class represent a uniqued identifier for a section in the current translation unit.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
bool isUndefined() const
isUndefined - Check if this symbol undefined (i.e., implicitly defined).
MCSection & getSection() const
Get the section associated with a defined, non-absolute symbol.
MCFragment * getFragment() const
Represents a location in source code.
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
This is an optimization pass for GlobalISel generic memory operations.