Home | History | Annotate | Download | only in AsmPrinter

Lines Matching full:encoding

96 static const char *DecodeDWARFEncoding(unsigned Encoding) {
97 switch (Encoding) {
119 return "<unknown encoding>";
124 /// encoding. If verbose assembly output is enabled, we output comments
125 /// describing the encoding. Desc is an optional string saying what the
126 /// encoding is specifying (e.g. "LSDA").
130 OutStreamer.AddComment(Twine(Desc)+" Encoding = " +
133 OutStreamer.AddComment(Twine("Encoding = ") +
140 /// GetSizeOfEncodedValue - Return the size of the encoding in bytes.
141 unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const {
142 if (Encoding == dwarf::DW_EH_PE_omit)
145 switch (Encoding & 0x07) {
154 void AsmPrinter::EmitReference(const MCSymbol *Sym, unsigned Encoding) const {
158 TLOF.getExprForDwarfReference(Sym, Encoding, OutStreamer);
159 OutStreamer.EmitAbsValue(Exp, GetSizeOfEncodedValue(Encoding));
162 void AsmPrinter::EmitReference(const GlobalValue *GV, unsigned Encoding)const{
166 TLOF.getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, OutStreamer);
167 OutStreamer.EmitValue(Exp, GetSizeOfEncodedValue(Encoding), /*addrspace*/0);