From 4367c7fb9accecfeca579cdbae82f3c27ede6295 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 16 Sep 2016 07:33:15 +0000 Subject: Move the Mangler from the AsmPrinter down to TLOF and clean up the TLOF API accordingly. llvm-svn: 281708 --- llvm/lib/Target/TargetMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/TargetMachine.cpp') diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index 60505f49a6b..17caed97391 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/lib/Target/TargetMachine.cpp @@ -208,7 +208,7 @@ void TargetMachine::getNameWithPrefix(SmallVectorImpl &Name, return; } const TargetLoweringObjectFile *TLOF = getObjFileLowering(); - TLOF->getNameWithPrefix(Name, GV, Mang, *this); + TLOF->getNameWithPrefix(Name, GV, *this); } MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV, Mangler &Mang) const { -- cgit v1.2.3