Go to file
Sean Callanan 09e91ac6ab [DWARF parser] Produce correct template parameter packs
Templates can end in parameter packs, like this

template <class T...> struct MyStruct 
  { /*...*/ };

LLDB does not currently support these parameter packs; 
it does not emit them into the template argument list
at all. This causes problems when you specialize, e.g.:

template <> struct MyStruct<int> 
  { /*...*/ };
template <> struct MyStruct<int, int> : MyStruct<int> 
  { /*...*/ };

LLDB generates two template specializations, each with 
no template arguments, and then when they are imported 
by the ASTImporter into a parser's AST context we get a 
single specialization that inherits from itself, 
causing Clang's record layout mechanism to smash its
stack.

This patch fixes the problem for classes and adds
tests. The tests for functions fail because Clang's
ASTImporter can't import them at the moment, so I've
xfailed that test.

Differential Revision: https://reviews.llvm.org/D33025

llvm-svn: 302833
2017-05-11 22:08:05 +00:00
clang XFAIL this test for Hexagon. 2017-05-11 21:18:27 +00:00
clang-tools-extra [clang-tidy][CMake] Make clang-tidy usable as distribution component 2017-05-10 16:20:54 +00:00
compiler-rt [scudo] Use our own combined allocator 2017-05-11 21:40:45 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Mark LWG#2782 as complete. No functionality change; we already do this. Just added a few more tests. 2017-05-11 14:25:45 +00:00
libcxxabi [Libcxxabi]: Support using compiler-rt for MinGW64 2017-05-11 21:16:29 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld Reduce template usage. NFC. 2017-05-11 22:02:41 +00:00
lldb [DWARF parser] Produce correct template parameter packs 2017-05-11 22:08:05 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [GISel]: Remove unused lambda captures. NFC 2017-05-11 21:56:51 +00:00
openmp [OpenMP] Changes in the plugin interface 2017-05-10 14:12:36 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Simplify] Remove identical scalar writes. 2017-05-11 15:07:38 +00:00