diff options
author | Douglas Yung <douglas.yung@sony.com> | 2017-04-11 07:45:16 +0000 |
---|---|---|
committer | Douglas Yung <douglas.yung@sony.com> | 2017-04-11 07:45:16 +0000 |
commit | c79031b2e989a25b974c231eacd8c222a7722319 (patch) | |
tree | 6b304aa1559101f302362e596f53a8ea8411f3f6 /llvm/lib/IR/Module.cpp | |
parent | 2084b6bcf865152a266eeba71932f9e25004d0bd (diff) | |
download | bcm5719-llvm-c79031b2e989a25b974c231eacd8c222a7722319.tar.gz bcm5719-llvm-c79031b2e989a25b974c231eacd8c222a7722319.zip |
[XRay][compiler-rt] Add support for TSC emulation for x86_64 to xray_fdr_logging.cc
Previously in r297800, a work-around was created to use TSC emulation on x86_64 when RDTSCP was not available on the host. A similar change was needed in the file xray_fdr_logging.cc which this patch ports over to that file.
Eventually the code should be refactored as there will be 3 locations with the same code, but that can be done as a separate step. This patch is just to keep the test from failing on my machine due to an illegal instruction since RDTSCP is not available on my x86_64 linux VM.
Reviewers: dberris
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31909
llvm-svn: 299922
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions