[PATCH] D29438: [XRay] Probe for CPU features that XRay needs
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 1 20:27:23 PST 2017
dberris created this revision.
Herald added a reviewer: javed.absar.
In llvm.org/PR31756 it's pointed out that sometimes rdtscp isn't
available. We fix it here by checking first whether it's availble before
installing the logging handler. In future commits we can have
alternative implementations, maybe working around some of the
constraints on some systems.
This change enables us to make that determination, but report an error
instead when the features aren't available.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3328 bytes
Desc: not available
More information about the llvm-commits