summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/xray_interface_internal.h
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2016-07-20 21:37:38 +0000
committerHans Wennborg <hans@hanshq.net>2016-07-20 21:37:38 +0000
commitae4e6fe990e0077eb128395cfcf9d1c59be574e7 (patch)
tree4948f190ae3d456fa37ebd60e8e88cc9e973fc1e /compiler-rt/lib/xray/xray_interface_internal.h
parentd0b867e3e569d463e7e34ae1b29b4e718503ce65 (diff)
downloadbcm5719-llvm-ae4e6fe990e0077eb128395cfcf9d1c59be574e7.tar.gz
bcm5719-llvm-ae4e6fe990e0077eb128395cfcf9d1c59be574e7.zip
Revert r276117 "[XRay] Basic initialization and flag definition for XRay runtime"
and also the follow-up "[xray] Only build xray on Linux for now" Two build errors were reported on the llvm-commits list: [ 88%] Building CXX object lib/xray/CMakeFiles/clang_rt.xray-x86_64.dir/xray_flags.cc.o /mnt/b/sanitizer-buildbot1/sanitizer-x86_64-linux/build/llvm/projects/compiler-rt/lib/xray/xray_init.cc:23:10: fatal error: 'llvm/Support/ELF.h' file not found #include "llvm/Support/ELF.h" ^ and In file included from /w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface.cc:16: /w/src/llvm.org/projects/compiler-rt/lib/xray/xray_interface_internal.h:36:8: error: no type named 'size_t' in namespace 'std' std::size_t Entries; ~~~~~^ llvm-svn: 276186
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface_internal.h')
-rw-r--r--compiler-rt/lib/xray/xray_interface_internal.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/compiler-rt/lib/xray/xray_interface_internal.h b/compiler-rt/lib/xray/xray_interface_internal.h
deleted file mode 100644
index b381107f709..00000000000
--- a/compiler-rt/lib/xray/xray_interface_internal.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//===-- xray_interface_internal.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.
-//
-// Implementation of the API functions. See also include/xray/xray_interface.h.
-//
-//===----------------------------------------------------------------------===//
-#ifndef XRAY_INTERFACE_INTERNAL_H
-#define XRAY_INTERFACE_INTERNAL_H
-
-#include "xray/xray_interface.h"
-#include <cstdint>
-
-extern "C" {
-
-struct XRaySledEntry {
- uint64_t Address;
- uint64_t Function;
- unsigned char Kind;
- unsigned char AlwaysInstrument;
- unsigned char Padding[14]; // Need 32 bytes
-};
-}
-
-namespace __xray {
-
-struct XRaySledMap {
- const XRaySledEntry *Sleds;
- std::size_t Entries;
-};
-}
-
-#endif
OpenPOWER on IntegriCloud