From c3ba7508f686178fd843c51b19bd72b3b64745a2 Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Fri, 14 Aug 2015 21:14:50 +0000 Subject: MIR Serialization: Serialize the external symbol call entry pseudo source values. llvm-svn: 245098 --- llvm/lib/CodeGen/MIRPrinter.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp') diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index 7e546eb845f..d70b5c412f1 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -767,9 +767,10 @@ void MIPrinter::print(const MachineMemOperand &Op) { cast(PVal)->getValue()->printAsOperand( OS, /*PrintType=*/false, MST); break; - default: - // TODO: Print the other pseudo source values. - OS << ""; + case PseudoSourceValue::ExternalSymbolCallEntry: + OS << '$'; + printLLVMNameWithoutPrefix( + OS, cast(PVal)->getSymbol()); break; } } -- cgit v1.2.3