summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/xray_utils.h
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-01-03 04:04:00 +0000
committerDean Michael Berris <dberris@google.com>2017-01-03 04:04:00 +0000
commit0aba35710f1db0254f8b2ba3a726d87390ff15ad (patch)
treefee3db226d03dd7f4e1f64c7d2023bfc817d7969 /compiler-rt/lib/xray/xray_utils.h
parent887894aaef8fe7b436d48dd825dbcf5dfd4cf3ad (diff)
downloadbcm5719-llvm-0aba35710f1db0254f8b2ba3a726d87390ff15ad.tar.gz
bcm5719-llvm-0aba35710f1db0254f8b2ba3a726d87390ff15ad.zip
Revert "[XRay][compiler-rt] XRay Flight Data Recorder Mode"
This reverts rL290852 as it breaks aarch64 and arm. llvm-svn: 290854
Diffstat (limited to 'compiler-rt/lib/xray/xray_utils.h')
-rw-r--r--compiler-rt/lib/xray/xray_utils.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/compiler-rt/lib/xray/xray_utils.h b/compiler-rt/lib/xray/xray_utils.h
deleted file mode 100644
index d165e84ff13..00000000000
--- a/compiler-rt/lib/xray/xray_utils.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//===-- xray_utils.h --------------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file is a part of XRay, a dynamic runtime instrumentation system.
-//
-// Some shared utilities for the XRay runtime implementation.
-//
-//===----------------------------------------------------------------------===//
-#ifndef XRAY_UTILS_H
-#define XRAY_UTILS_H
-
-#include <sys/types.h>
-#include <utility>
-
-namespace __xray {
-
-// Default implementation of the reporting interface for sanitizer errors.
-void PrintToStdErr(const char *Buffer);
-
-// EINTR-safe write routine, provided a file descriptor and a character range.
-void retryingWriteAll(int Fd, char *Begin, char *End);
-
-// Reads a long long value from a provided file.
-bool readValueFromFile(const char *Filename, long long *Value);
-
-// EINTR-safe read routine, providing a file descriptor and a character range.
-std::pair<ssize_t, bool> retryingReadSome(int Fd, char *Begin, char *End);
-
-// EINTR-safe open routine, uses flag-provided values for initialising a log
-// file.
-int getLogFD();
-
-// EINTR-safe read of CPU frquency for the current CPU.
-long long getCPUFrequency();
-
-} // namespace __xray
-
-#endif // XRAY_UTILS_H
OpenPOWER on IntegriCloud