llvm-project/clang/test
Reid Kleckner 5f08094106 [ms-cxxabi] Improve vbtable name mangling accuracy
Summary:
This makes us more compatible with MSVC 2012+ and fixes PR17748 where we
would give two tables the same name.

Rather than doing a fresh depth-first traversal of the inheritance graph
for every record's vbtables, now we memoize vbtable paths for each
record.  By doing memoization, we end up considering virtual bases of
subobjects that come later in the depth-first traversal.  Where
previously we would have ignored a virtual base that we'd already seen,
we now consider it for name mangling purposes without emitting a
duplicate vbtable for it.

Reviewers: majnemer

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2509

llvm-svn: 198462
2014-01-03 23:42:00 +00:00
..
ARCMT Implemented delayed processing of 'unavailable' checking, just like with 'deprecated'. 2013-12-18 23:30:06 +00:00
ASTMerge Ignore test Inputs globally and remove redundant lit.local.cfg files 2013-11-15 13:37:49 +00:00
Analysis [analyzer] Don't track return value of NSNull +null for retain/release tracking. 2014-01-03 01:19:28 +00:00
CXX Eliminate UnaryTypeTraitExpr 2014-01-01 05:57:51 +00:00
CodeCompletion Fix FileCheck --check-prefix lines. 2013-08-12 12:51:05 +00:00
CodeGen Update for llvm's DataLayout including mangling information. 2014-01-03 19:22:05 +00:00
CodeGenCUDA Fix test failures after addrspacecast added. 2013-11-15 02:19:52 +00:00
CodeGenCXX [ms-cxxabi] Improve vbtable name mangling accuracy 2014-01-03 23:42:00 +00:00
CodeGenObjC Debug info: Ensure that the last stop point in a function is still within 2014-01-03 23:34:30 +00:00
CodeGenObjCXX Remove duplicated -cc1 in tests 2013-12-08 18:06:52 +00:00
CodeGenOpenCL Fix a crash in EmitStoreThroughExtVectorComponentLValue for vectors of odd sizes. 2013-11-21 17:09:05 +00:00
Coverage Skip this test when using lit integrated shell 2013-10-25 22:30:07 +00:00
Driver Add test for r198311. 2014-01-02 17:18:03 +00:00
FixIt Objective-C. After providing a fix-it for a 2013-12-18 21:04:43 +00:00
Format clang-format: Explicitly set fallback style that is tested. 2013-12-03 06:48:41 +00:00
Frontend Override the datalayout in a module with -triple. 2013-12-20 22:01:25 +00:00
Headers Add a FIXME to a failing test. 2013-12-24 20:48:13 +00:00
Index Add a test I forgot to svn add in r197755 2013-12-20 00:21:47 +00:00
Layout [ms-abi] unix-line endings in lit test, no functional change 2013-12-26 22:10:14 +00:00
Lexer Lexer: Issue -Wbackslash-newline-escape for line comments 2013-12-14 23:32:31 +00:00
Misc [OpenCL] Variables in the constant address space must be initialized. 2014-01-03 14:16:55 +00:00
Modules Enable layering check in unavailable modules. 2013-12-20 12:09:36 +00:00
OpenMP Enhance OpenMP parser tests from r197553 / r197598 2013-12-18 22:34:19 +00:00
PCH PCH: fix a crash caused by a circular deserialization dependency 2013-12-19 02:05:20 +00:00
Parser Using the quoted version of an attribute name for consistency with other attribute diagnostics. 2014-01-02 18:10:17 +00:00
Preprocessor Move MS header search test inputs to Inputs/ 2013-12-27 20:41:49 +00:00
Rewriter Teach the diagnostics engine about the Attr type to make reporting on semantic attributes easier (and not require hard-coded strings). This requires a getSpelling() function on the Attr class, which is table-driven. Updates a handful of cases where a hard-coded string was being used to test the functionality out. Updating associated test cases for the improved quoting. 2013-12-26 18:30:57 +00:00
Sema Simplifying the mutual exclusion check now that the diagnostics engine knows how to handle Attr objects directly. Updates an associated test case due to the attribute name being properly quoted again. 2014-01-03 16:23:46 +00:00
SemaCUDA Updated the wording of two attribute-related diagnostics so that they print the offending attribute name. Also updates the associated test cases. 2014-01-02 21:26:14 +00:00
SemaCXX Removing some more unnecessary manual quotes from diagnostics. Updated the related test case to ensure correctness. 2014-01-03 13:34:55 +00:00
SemaObjC [objc] Refactor and improve functionality for the -Wunused-property-ivar warning. 2014-01-03 18:32:18 +00:00
SemaObjCXX Objective-C ARC++: Prefer references to __strong/__weak over __unsafe_unretained. 2014-01-02 19:42:02 +00:00
SemaOpenCL [OpenCL] Add test case for previous commit. 2014-01-03 15:11:57 +00:00
SemaTemplate PR18246: When performing template argument deduction to decide which template 2013-12-14 03:18:05 +00:00
TableGen
Tooling Adding a win32-targeted test into Tooling/multi-jobs.cpp, to make sure it doesn't get broken again 2013-12-18 18:55:36 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 14:43:04 +00:00
.clang-format Add .clang-format without column limit to subdirectory tests/. 2013-11-08 06:45:35 +00:00
CMakeLists.txt check-clang: Suppress LLVM_LIT in add_lit_testsuite, for now. 2013-12-19 17:10:30 +00:00
Makefile check-clang: Introduce clang_tools_dir in lit.site.cfg, for clang separated from llvm. 2013-12-18 15:08:56 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg check-clang: Introduce clang_tools_dir in lit.site.cfg, for clang separated from llvm. 2013-12-18 15:08:56 +00:00
lit.site.cfg.in check-clang: Fixup r197576, to replace CMAKE_CFG_INTDIR on clang_tools_dir. 2013-12-18 18:25:13 +00:00
make_test_dirs.pl