diff options
author | Dean Michael Berris <dberris@google.com> | 2017-02-02 07:51:21 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2017-02-02 07:51:21 +0000 |
commit | 607617b0043becd6b295bec333329c5939282077 (patch) | |
tree | 272ae03ffdaf8782cc7cb7391fe028b2483ce59d /lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | |
parent | 78e35da1ba26d7176c957ac2c9efc26a9950e086 (diff) | |
download | bcm5719-llvm-607617b0043becd6b295bec333329c5939282077.tar.gz bcm5719-llvm-607617b0043becd6b295bec333329c5939282077.zip |
[XRay] Probe for CPU features that XRay needs
Summary:
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.
Reviewers: sdardis, javed.absar, rSerge
Subscribers: pelikan, llvm-commits
Differential Revision: https://reviews.llvm.org/D29438
llvm-svn: 293870
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
0 files changed, 0 insertions, 0 deletions