llvm.org GIT mirror llvm / 13b1e92
MC'ize this a bit and upgrade APIs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93309 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2424 #include "llvm/CodeGen/MachineInstr.h"
2525 #include "llvm/MC/MCStreamer.h"
2626 #include "llvm/MC/MCAsmInfo.h"
27 #include "llvm/MC/MCContext.h"
2728 #include "llvm/MC/MCSymbol.h"
2829 #include "llvm/Target/TargetData.h"
2930 #include "llvm/Target/TargetLoweringObjectFile.h"
181182 break;
182183 case MachineOperand::MO_ExternalSymbol: {
183184 SmallString<60> NameStr;
184 Mang->makeNameProper(NameStr, MO.getSymbolName());
185 O << NameStr.str();
185 Mang->getNameWithPrefix(NameStr, MO.getSymbolName());
186 OutContext.GetOrCreateSymbol(NameStr.str())->print(O, MAI);
186187 break;
187188 }
188189 case MachineOperand::MO_ConstantPoolIndex: