Home | History | Annotate | Download | only in AsmPrinter

Lines Matching refs:Encoding

64 static const char *DecodeDWARFEncoding(unsigned Encoding) {
65 switch (Encoding) {
87 return "<unknown encoding>";
92 /// encoding. If verbose assembly output is enabled, we output comments
93 /// describing the encoding. Desc is an optional string saying what the
94 /// encoding is specifying (e.g. "LSDA").
98 OutStreamer.AddComment(Twine(Desc)+" Encoding = " +
101 OutStreamer.AddComment(Twine("Encoding = ") +
108 /// GetSizeOfEncodedValue - Return the size of the encoding in bytes.
109 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const {
110 if (Encoding == dwarf::DW_EH_PE_omit)
113 switch (Encoding & 0x07) {
122 void AsmPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const {
126 TLOF.getExprForDwarfReference(Sym, Encoding, OutStreamer);
127 OutStreamer.EmitAbsValue(Exp, GetSizeOfEncodedValue(Encoding));
130 void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{
134 TLOF.getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, OutStreamer);
135 OutStreamer.EmitValue(Exp, GetSizeOfEncodedValue(Encoding), /*addrspace*/0);