diff options
author | Larisse Voufo <lvoufo@google.com> | 2014-07-02 23:08:34 +0000 |
---|---|---|
committer | Larisse Voufo <lvoufo@google.com> | 2014-07-02 23:08:34 +0000 |
commit | 5899e19defe57fe5bd504bc20d254ba1a423b9a7 (patch) | |
tree | 0b82a794eadf3de81eea3085e02b64bfc28a112b /llvm/lib/MC/StringTableBuilder.cpp | |
parent | c67aa5403ca4b7a82bb671de7c6a86db2ff4140d (diff) | |
download | llvm-5899e19defe57fe5bd504bc20d254ba1a423b9a7.zip llvm-5899e19defe57fe5bd504bc20d254ba1a423b9a7.tar.gz llvm-5899e19defe57fe5bd504bc20d254ba1a423b9a7.tar.bz2 |
Fix linkage bug that miscompiled variable templates instantiated from similarly named local types. In essence, this bug ensures that the x<Foo> specialization in function foo() defined as follows differs between two distinct translation units.
static int &foo() {
struct Foo { };
return x<Foo>;
}
llvm-svn: 212233
Diffstat (limited to 'llvm/lib/MC/StringTableBuilder.cpp')
0 files changed, 0 insertions, 0 deletions