From b462e47d2d706cea7d8035c155b0f4f25d58a8f9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 17 Aug 2004 06:07:43 +0000 Subject: [PATCH] New, more general, interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15866 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPC32AsmPrinter.cpp | 2 +- lib/Target/PowerPC/PPC64AsmPrinter.cpp | 2 +- lib/Target/PowerPC/PPCAsmPrinter.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/lib/Target/PowerPC/PPC32AsmPrinter.cpp index 9a591a17c4b..501f8bb8fb8 100644 --- a/lib/Target/PowerPC/PPC32AsmPrinter.cpp +++ b/lib/Target/PowerPC/PPC32AsmPrinter.cpp @@ -45,7 +45,7 @@ namespace { PPC32AsmPrinter(std::ostream &O, TargetMachine &TM) : AsmPrinter(O, TM), LabelNumber(0) { - UsesUnderscorePrefix = 1; + GlobalPrefix = "_"; } /// Unique incrementer for label values for referencing Global values. diff --git a/lib/Target/PowerPC/PPC64AsmPrinter.cpp b/lib/Target/PowerPC/PPC64AsmPrinter.cpp index d32f1982310..0e694ea47eb 100644 --- a/lib/Target/PowerPC/PPC64AsmPrinter.cpp +++ b/lib/Target/PowerPC/PPC64AsmPrinter.cpp @@ -666,7 +666,7 @@ bool Printer::doInitialization(Module &M) { O << '\n'; } - Mang = new Mangler(M, true); + Mang = new Mangler(M, "_"); return false; // success } diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 9a591a17c4b..501f8bb8fb8 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -45,7 +45,7 @@ namespace { PPC32AsmPrinter(std::ostream &O, TargetMachine &TM) : AsmPrinter(O, TM), LabelNumber(0) { - UsesUnderscorePrefix = 1; + GlobalPrefix = "_"; } /// Unique incrementer for label values for referencing Global values. -- 2.34.1