Hans Wennborg
c9bd88e681
Remove the -cxx-abi command-line flag.
...
This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples,
Itanium otherwise. It's no longer possible to do weird combinations.
To be able to run a test with a specific ABI without constraining it to a
specific triple, new substitutions are added to lit: %itanium_abi_triple and
%ms_abi_triple can be used to get the current target triple adjusted to the
desired ABI. For example, if the test suite is running with the i686-pc-win32
target, %itanium_abi_triple will expand to i686-pc-mingw32.
Differential Revision: http://llvm-reviews.chandlerc.com/D2545
llvm-svn: 199250
2014-01-14 19:35:09 +00:00
Warren Hunt
b700566a3a
[ms-abi] Fixed failing lit test.
...
This test adjustment was missing from the previous patch.
llvm-svn: 198822
2014-01-09 00:48:32 +00:00
Warren Hunt
8f8bad723d
Adds Microsoft compatiable C++ record layout code to clang.
...
llvm-svn: 192494
2013-10-11 20:19:00 +00:00
John McCall
e9a82b07cd
Test verified.
...
llvm-svn: 155932
2012-05-01 19:57:05 +00:00
John McCall
aeb11a8c0b
Add a disclaimer to the new test, plus a user-declared ctor
...
to force the emission of vtordisps.
llvm-svn: 155906
2012-05-01 08:59:06 +00:00
John McCall
e42a336604
Add support for laying out vtordisps according to our current
...
working knowledge of the Microsoft ABI. Based on a patch by
Dmitry Sokolov.
llvm-svn: 155905
2012-05-01 08:55:32 +00:00
Eli Friedman
83a1258342
Fix MSVC class layout for empty classes. Patch by Dmitry Sokolov.
...
llvm-svn: 145544
2011-12-01 00:37:01 +00:00
John McCall
0153cd3027
Fix the layout of vb-tables and vf-tables in the MS C++ ABI.
...
Based on work by Dmitry Sokolov!
llvm-svn: 144072
2011-11-08 04:01:03 +00:00
Eli Friedman
faaf2731f6
Add tests for CodeGen types in MS ABI. Based on patch by r4start.
...
llvm-svn: 142697
2011-10-21 23:03:08 +00:00
Eli Friedman
43114f9084
More ASTRecordLayout changes for MS ABI; based on patch by r4start.
...
llvm-svn: 142694
2011-10-21 22:49:56 +00:00
Eli Friedman
5e9534b0ae
Rewrite parts of MS ABI C++ layout. Based on work by r4start; I ended up doing this while I was trying to review his patch.
...
llvm-svn: 142325
2011-10-18 00:55:28 +00:00
Eli Friedman
84d2d3a90e
Some changes to improve compatibility for MSVC-style C++ struct layout. Patch from r4start at gmail.com (with some minor modifications by me).
...
llvm-svn: 140623
2011-09-27 19:12:27 +00:00