summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/virtual-function-calls.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Bring r325915 back.Rafael Espindola2018-02-231-1/+1
| | | | | | | | | | | | | | | The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
* [Devirtualization] Decorate vfunction load with invariant.loadPiotr Padlewski2016-10-291-1/+6
| | | | | | | | | | | | | | | | Summary: This patch was introduced one year ago, but because my google account was disabled, I didn't get email with failing buildbot and I missed revert of this commit. There was small but in test regex. I am back. Reviewers: rsmith, rengolin Subscribers: nlewycky, rjmccall, cfe-commits Differential Revision: https://reviews.llvm.org/D26117 llvm-svn: 285497
* Revert "Decorating virtual functions load with invariant.load" and fixRenato Golin2015-10-011-6/+1
| | | | | | | This reverts commit r248982 as it was breaking the ARM buildbots and the fix didn't work. This reverts commit r248984, the fix that didn't work. llvm-svn: 249005
* Test fixPiotr Padlewski2015-10-011-1/+1
| | | | llvm-svn: 248984
* Decorating virtual functions load with invariant.loadPiotr Padlewski2015-10-011-1/+6
| | | | | | http://reviews.llvm.org/D13279 llvm-svn: 248982
* Remove the -cxx-abi command-line flag.Hans Wennborg2014-01-141-1/+1
| | | | | | | | | | | | | | | 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
* Prepare for using MS ABI by default for Win32: update CodeGenCXX testsHans Wennborg2013-12-131-1/+1
| | | | llvm-svn: 197281
* Switch to the new MingW ABI.Rafael Espindola2013-12-121-2/+2
| | | | | | | GCC 4.7 changed the MingW ABI. On the clang side this means that methods now have the thiscall calling convention by default. llvm-svn: 197164
* Don't emit calls to virtual [[noreturn]] functions as noreturn; overrides of aRichard Smith2013-03-051-1/+14
| | | | | | | | [[noreturn]] function are not required to also be [[noreturn]]. We still emit calls to virtual __attribute__((noreturn)) functions as noreturn; unlike GCC, we do require overriders to also be noreturn for that attribute. llvm-svn: 176476
* Fix a refacto that broke the clang-on-clang build.Anders Carlsson2010-02-121-1/+20
| | | | llvm-svn: 95994
* Correctly initialize the PrimaryBaseInfo if a base is null. Fixes PR5832.Anders Carlsson2009-12-191-0/+8
| | | | llvm-svn: 91748
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Fix test.Anders Carlsson2009-10-121-0/+1
| | | | llvm-svn: 83888
* Factor out devirtualization checking into a separate function and make it ↵Anders Carlsson2009-10-121-7/+0
| | | | | | handle references correctly. llvm-svn: 83880
* If the base type of a member call is a record type we don't need to emit a ↵Anders Carlsson2009-10-111-1/+8
| | | | | | virtual call. llvm-svn: 83816
* Fix test.Anders Carlsson2009-10-061-7/+1
| | | | llvm-svn: 83398
* Pass the right type to GetAddrOfFunction when getting functions for the ↵Anders Carlsson2009-10-061-0/+16
VTable. Fixes PR5021. llvm-svn: 83395
OpenPOWER on IntegriCloud