summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-11-16 01:01:13 +0000
committerDean Michael Berris <dberris@google.com>2016-11-16 01:01:13 +0000
commit4031e4b95d2e96a6dc607eb37ee1cc6ed6ce2389 (patch)
treee443a9cc9168d61bc0ff4b4ca86eb6231f7de344 /llvm/lib/CodeGen/RegAllocGreedy.cpp
parentfb1e6d22a32c7d88e52ef3575cc511cf91b02d25 (diff)
downloadbcm5719-llvm-4031e4b95d2e96a6dc607eb37ee1cc6ed6ce2389.tar.gz
bcm5719-llvm-4031e4b95d2e96a6dc607eb37ee1cc6ed6ce2389.zip
[XRay][compiler-rt] Disable XRay instrumentation of the XRay runtime.
Summary: Adds a CMake check for whether the compiler used to build the XRay library supports XRay-instrumentation. If the compiler we're using does support the `-fxray-instrument` flag (i.e. recently-built Clang), we define the XRAY_NEVER_INSTRUMENT macro that then makes sure that the XRay runtime functions never get XRay-instrumented. This prevents potential weirdness involved with building the XRay library with a Clang that supports XRay-instrumentation, and is attempting to XRay-instrument the build of compiler-rt. Reviewers: majnemer, rSerge, echristo Subscribers: mehdi_amini, llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D26597 llvm-svn: 287068
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocGreedy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud