summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-09-16 07:33:15 +0000
committerEric Christopher <echristo@gmail.com>2016-09-16 07:33:15 +0000
commit4367c7fb9accecfeca579cdbae82f3c27ede6295 (patch)
tree56537e26ff5f994a95796382ea3a1707b0d9e4c2 /llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
parenta808f2981eef62df08151f45f239551f013ea19f (diff)
downloadbcm5719-llvm-4367c7fb9accecfeca579cdbae82f3c27ede6295.tar.gz
bcm5719-llvm-4367c7fb9accecfeca579cdbae82f3c27ede6295.zip
Move the Mangler from the AsmPrinter down to TLOF and clean up the
TLOF API accordingly. llvm-svn: 281708
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
index 60f40d063cc..a6c6373447b 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
@@ -138,8 +138,7 @@ void AsmPrinter::EmitTTypeReference(const GlobalValue *GV,
const TargetLoweringObjectFile &TLOF = getObjFileLowering();
const MCExpr *Exp =
- TLOF.getTTypeGlobalReference(GV, Encoding, *Mang, TM, MMI,
- *OutStreamer);
+ TLOF.getTTypeGlobalReference(GV, Encoding, TM, MMI, *OutStreamer);
OutStreamer->EmitValue(Exp, GetSizeOfEncodedValue(Encoding));
} else
OutStreamer->EmitIntValue(0, GetSizeOfEncodedValue(Encoding));
OpenPOWER on IntegriCloud