LLVM: lib/MC/MCSymbolXCOFF.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
10
11using namespace llvm;
12
14 assert(RepresentedCsect &&
15 "Trying to get csect representation of this symbol but none was set.");
17 "SymbolTableNames need to be the same for this symbol and its csect "
18 "representation.");
19 return RepresentedCsect;
20}
21
23 assert(C && "Assigned csect should not be null.");
24 assert((!RepresentedCsect || RepresentedCsect == C) &&
25 "Trying to set a csect that doesn't match the one that this symbol is "
26 "already mapped to.");
28 "SymbolTableNames need to be the same for this symbol and its csect "
29 "representation.");
30 RepresentedCsect = C;
31}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
StringRef getSymbolTableName() const
void setRepresentedCsect(MCSectionXCOFF *C)
Definition MCSymbolXCOFF.cpp:22
MCSectionXCOFF * getRepresentedCsect() const
Definition MCSymbolXCOFF.cpp:13
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.