summaryrefslogtreecommitdiff
path: root/libcxxabi/test/support
AgeCommit message (Collapse)Author
2021-10-13[libc++abi] Change LIBCXXABI_NO_TIMER to LIBCXXABI_USE_TIMERLouis Dionne
Instead of always defining LIBCXXABI_NO_TIMER to run the tests, only define LIBCXXABI_USE_TIMER when we want to enable the timer. This makes the libc++abi testing configuration simpler. As a fly-by fix, remove the unused LIBUNWIND_NO_TIMER macro from libunwind. Differential Revision: https://reviews.llvm.org/D111667
2020-10-13[libc++/abi] Clean up uses of <iostream> in the test suiteLouis Dionne
We used <iostream> in several places where we don't actually need the full power of <iostream>, and where using basic `std::printf` is enough. This is better, since `std::printf` can be supported on systems that don't have a notion of locales, while <iostream> can't.
2019-08-12 small follow-up to r368604Nico Weber
llvm-svn: 368605
2019-08-12libcxxabi: Rename .hpp files to .hNico Weber
LLVM uses .h as its extension for header files. Differential Revision: https://reviews.llvm.org/D65981 llvm-svn: 368604
2019-01-19Update more file headers across all of the LLVM projects in the monorepoChandler Carruth
to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
2016-01-19Add missing license headersEric Fiselier
llvm-svn: 258201
2014-11-25Fix comment on end of #endif to match #ifEric Fiselier
llvm-svn: 222719
2014-11-24[libcxxabi] Refactor test timing logic and disable by default.Eric Fiselier
Summary: When using LIT the timing output is entirely unused but introduces a dependency on `<chrono>`. When libc++ is built without a montonic clock this causes some of the tests to fail. This patch factors out all of the timing logic into `support/timer.hpp` and disables it by default. To enable the timing you must define `LIBCXXABI_TIME_TESTS`. Reviewers: mclow.lists, danalbert, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6391 llvm-svn: 222701