diff options
author | Eric Fiselier <eric@efcs.ca> | 2014-11-24 22:38:57 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2014-11-24 22:38:57 +0000 |
commit | c5de7b113b53a72ea02ea269d81151e8b3c3f9df (patch) | |
tree | e005e50154517fc7194131839475a171945f4c8d /llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp | |
parent | e1526fc20515aecd4a26bf7dd377f72afbb080e1 (diff) | |
download | bcm5719-llvm-c5de7b113b53a72ea02ea269d81151e8b3c3f9df.tar.gz bcm5719-llvm-c5de7b113b53a72ea02ea269d81151e8b3c3f9df.zip |
[libcxxabi] Refactor test timing logic and disable by default.
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
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp')
0 files changed, 0 insertions, 0 deletions