diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-02-18 07:47:09 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-02-18 07:47:09 +0000 |
commit | 7ff7eb706a0b05548efa696559b0a0a67ef5bf35 (patch) | |
tree | 2a558d1945b67c67c9a0c7d7d5f53c4bf26810f0 /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 55ac42426e7a7e271814e40ad078fd7c131819e3 (diff) | |
download | llvm-7ff7eb706a0b05548efa696559b0a0a67ef5bf35.zip llvm-7ff7eb706a0b05548efa696559b0a0a67ef5bf35.tar.gz llvm-7ff7eb706a0b05548efa696559b0a0a67ef5bf35.tar.bz2 |
Itanium ABI: Mangle <mangled-name> according to the ABI
We attempted to be compatible with GCC's buggy mangling for templates
with a declaration for a template argument.
However, we weren't completely successful in copying their bug in cases
like:
char foo;
template <char &C> decltype(C) f() { return foo; };
template char &f<foo>();
Instead, just follow the ABI specification. This fixes PR22621.
llvm-svn: 229644
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions