diff options
author | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | 2014-12-12 16:17:46 +0000 |
---|---|---|
committer | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | 2014-12-12 16:17:46 +0000 |
commit | 665027dbc4d648eb2a78e591352ad9528db914f6 (patch) | |
tree | b3f856df5624a4c5924408bc1a467cb5a0e76205 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | 716809b83ce6b93823ed9b473ad5ede54be76005 (diff) | |
download | llvm-665027dbc4d648eb2a78e591352ad9528db914f6.zip llvm-665027dbc4d648eb2a78e591352ad9528db914f6.tar.gz llvm-665027dbc4d648eb2a78e591352ad9528db914f6.tar.bz2 |
Fix the issue of mangling of local anonymous unions (Itanium C++ ABI):
A discriminator is used for the first occurrence of a name.
inline int f1 () {
static union {
int a;
long int b;
};
static union {
int c;
double d;
};
return a+c;
}
The name of the second union is mangled as _ZZ2f1vE1c_0 instead of _ZZ2f1vE1c.
Differential Revision: http://reviews.llvm.org/D6295
llvm-svn: 224131
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions