diff options
author | Eric Christopher <echristo@gmail.com> | 2016-09-16 07:33:15 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2016-09-16 07:33:15 +0000 |
commit | 4367c7fb9accecfeca579cdbae82f3c27ede6295 (patch) | |
tree | 56537e26ff5f994a95796382ea3a1707b0d9e4c2 /llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp | |
parent | a808f2981eef62df08151f45f239551f013ea19f (diff) | |
download | llvm-4367c7fb9accecfeca579cdbae82f3c27ede6295.zip llvm-4367c7fb9accecfeca579cdbae82f3c27ede6295.tar.gz llvm-4367c7fb9accecfeca579cdbae82f3c27ede6295.tar.bz2 |
Move the Mangler from the AsmPrinter down to TLOF and clean up the
TLOF API accordingly.
llvm-svn: 281708
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp b/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp index 8f66035..870a4e3 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp @@ -23,8 +23,7 @@ Initialize(MCContext &Ctx, const TargetMachine &TM) { } MCSection *PPC64LinuxTargetObjectFile::SelectSectionForGlobal( - const GlobalValue *GV, SectionKind Kind, Mangler &Mang, - const TargetMachine &TM) const { + const GlobalValue *GV, SectionKind Kind, const TargetMachine &TM) const { // Here override ReadOnlySection to DataRelROSection for PPC64 SVR4 ABI // when we have a constant that contains global relocations. This is // necessary because of this ABI's handling of pointers to functions in @@ -46,8 +45,7 @@ MCSection *PPC64LinuxTargetObjectFile::SelectSectionForGlobal( Kind = SectionKind::getReadOnlyWithRel(); } - return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, - Mang, TM); + return TargetLoweringObjectFileELF::SelectSectionForGlobal(GV, Kind, TM); } const MCExpr *PPC64LinuxTargetObjectFile:: |