[XRay][compiler-rt] Add another work-around to XRay FDR tests when TSC emulation...
authorDouglas Yung <douglas.yung@sony.com>
Wed, 12 Apr 2017 01:24:48 +0000 (01:24 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Wed, 12 Apr 2017 01:24:48 +0000 (01:24 +0000)
commitbcfc9d9b382d4c80f084fbc2f43cfeb9b0555284
treed81f3fca599e7ea4048eb00091c8a9d98c3d684a
parent821637aa52a31dc3ad8aed15eb2760adb5e49774
[XRay][compiler-rt] Add another work-around to XRay FDR tests when TSC emulation is needed

This patch applies a work-around to the XRay FDR tests when TSC emulation is
needed because the processor frequency cannot be determined.

This fixes PR32620 using the suggestion given by Dean in comment 1.

Reviewers: dberris

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31967

llvm-svn: 300017
compiler-rt/lib/xray/xray_fdr_logging.cc
compiler-rt/lib/xray/xray_fdr_logging_impl.h