[PATCH] D30677: [XRay][compiler-rt] Support TSC emulation even for x86_64
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 21:44:36 PST 2017
dberris created this revision.
Use TSC emulation in cases where RDTSCP isn't available on the host
running an XRay instrumented binary. We can then fall back into
emulation instead of not even installing XRay's runtime functionality.
We only do this for now in the naive/basic logging implementation, but
should be useful in even FDR mode.
Should fix http://llvm.org/PR32148.
https://reviews.llvm.org/D30677
Files:
lib/xray/xray_inmemory_log.cc
lib/xray/xray_tsc.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30677.90790.patch
Type: text/x-patch
Size: 3921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/7a86dd1f/attachment.bin>
More information about the llvm-commits
mailing list