commit | 665027dbc4d648eb2a78e591352ad9528db914f6 | [log] [tgz] |
---|---|---|
author | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | Fri Dec 12 16:17:46 2014 +0000 |
committer | Evgeny Astigeevich <evgeny.astigeevich@arm.com> | Fri Dec 12 16:17:46 2014 +0000 |
tree | b3f856df5624a4c5924408bc1a467cb5a0e76205 | |
parent | 716809b83ce6b93823ed9b473ad5ede54be76005 [diff] |
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