Change the internal interface to makeNameProper to take a bool that
authorChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 04:50:12 +0000 (04:50 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 Jul 2009 04:50:12 +0000 (04:50 +0000)
commit1cda87c3a07dc097f27e365f7f3ff4bcb31f5699
treecaac3b6fa18af3b7530dbc61f634125801ff061a
parent1b8f70a0d3d72ce55c8036b79bcc80b130b5f7b2
Change the internal interface to makeNameProper to take a bool that
indicates whether the label is private or not, instead of taking
prefix stuff.  One effect of this is that symbols will be generated
with *just* the private prefix, instead of both the private prefix
*and* the user-label-prefix, but this doesn't matter as long as it
is consistent.  For example we'll now get "Lfoo" instead of "L_foo".
These are just assembler temporary labels anyway, so they never even
make it into the .o file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75607 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Mangler.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/VMCore/Mangler.cpp
test/CodeGen/PowerPC/private.ll
test/CodeGen/X86/private-2.ll