New, more general, interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15866 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-08-17 06:07:43 +00:00
parent 97f3e37f00
commit b462e47d2d
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -666,7 +666,7 @@ bool Printer::doInitialization(Module &M) {
O << '\n';
}
Mang = new Mangler(M, true);
Mang = new Mangler(M, "_");
return false; // success
}

View File

@ -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.