diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-14 04:50:12 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-14 04:50:12 +0000 |
| commit | f34815b32fac3cb8f951f566e2e83ad4728684f3 (patch) | |
| tree | a2e6882baf9c56ee3a6c0d541c9107cb77131da4 /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
| parent | b0c86d4fe83878712c1ea920b46f6c1ecb75639b (diff) | |
| download | bcm5719-llvm-f34815b32fac3cb8f951f566e2e83ad4728684f3.tar.gz bcm5719-llvm-f34815b32fac3cb8f951f566e2e83ad4728684f3.zip | |
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.
llvm-svn: 75607
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index c1cb97ccf72..867b00370c1 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -271,8 +271,8 @@ AsmPrinter::getCurrentFunctionEHName(const MachineFunction *MF, Name = MF->getFunction()->getName(); if (Name.empty()) Name = Mang->getValueName(MF->getFunction()); - Name = Mang->makeNameProper(TAI->getEHGlobalPrefix() + - Name + ".eh", TAI->getGlobalPrefix()); + + Name = Mang->makeNameProper(TAI->getEHGlobalPrefix() + Name + ".eh"); return Name; } |

