commit | 68857ed5fcfd37576c32c71f9a9725c36b6eb866 | [log] [tgz] |
---|---|---|
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | Fri Dec 18 16:19:35 2015 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Aug 31 20:15:35 2020 -0700 |
tree | c07c3382e4ae0e4cddd843569f74d2cf8719ed42 | |
parent | c5dcc2c47df9fc2c720fca4db73f9fc167bbf7a3 [diff] |
[STATS] Have CMake do real check for stats functionality This change allows clang to build the stats library for every architecture which supports __builtin_readcyclecounter(). CMake also checks for all necessary features for stats and will error out if the platform does not support it. Patch by Hal Finkel and Johnny Peyton llvm-svn: 256002 GitOrigin-RevId: b9e832608879a9defe8be23384677b9335b00546