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 | 37db402da9462e27c0cd2704a11d8c0f28c52e8d (patch) | |
| tree | caac3b6fa18af3b7530dbc61f634125801ff061a /include | |
| parent | 11814cd5a6d2ae131d8356552faf071fe911920c (diff) | |
| download | external_llvm-37db402da9462e27c0cd2704a11d8c0f28c52e8d.zip external_llvm-37db402da9462e27c0cd2704a11d8c0f28c52e8d.tar.gz external_llvm-37db402da9462e27c0cd2704a11d8c0f28c52e8d.tar.bz2 | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Support/Mangler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/Mangler.h b/include/llvm/Support/Mangler.h index 27d137a..0dc26ed 100644 --- a/include/llvm/Support/Mangler.h +++ b/include/llvm/Support/Mangler.h @@ -94,8 +94,8 @@ public: /// does this for you, so there's no point calling it on the result /// from getValueName. /// - std::string makeNameProper(const std::string &x, const char *Prefix = 0, - const char *PrivatePrefix = 0); + std::string makeNameProper(const std::string &x, + bool hasPrivateLinkage = false); }; } // End llvm namespace |
