summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/xray_interface_internal.h
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-10-06 07:09:40 +0000
committerDean Michael Berris <dberris@google.com>2016-10-06 07:09:40 +0000
commit4ef1a69b405a9017599a5dab5e10089b572de988 (patch)
tree779e5f60d2a6dc29c1417a7b190ffb1ea430daff /compiler-rt/lib/xray/xray_interface_internal.h
parent62e1d239866969ea3aab7c0b221683a9005ffcc4 (diff)
downloadbcm5719-llvm-4ef1a69b405a9017599a5dab5e10089b572de988.tar.gz
bcm5719-llvm-4ef1a69b405a9017599a5dab5e10089b572de988.zip
[compiler-rt][XRay][NFC] clang-format XRay sources
llvm-svn: 283421
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface_internal.h')
-rw-r--r--compiler-rt/lib/xray/xray_interface_internal.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler-rt/lib/xray/xray_interface_internal.h b/compiler-rt/lib/xray/xray_interface_internal.h
index 3465b67d51c..fe58f8ad012 100644
--- a/compiler-rt/lib/xray/xray_interface_internal.h
+++ b/compiler-rt/lib/xray/xray_interface_internal.h
@@ -15,8 +15,8 @@
#ifndef XRAY_INTERFACE_INTERNAL_H
#define XRAY_INTERFACE_INTERNAL_H
-#include "xray/xray_interface.h"
#include "sanitizer_common/sanitizer_platform.h"
+#include "xray/xray_interface.h"
#include <cstddef>
#include <cstdint>
@@ -36,10 +36,9 @@ struct XRaySledEntry {
unsigned char AlwaysInstrument;
unsigned char Padding[6]; // Need 16 bytes
#else
- #error "Unsupported word size."
+#error "Unsupported word size."
#endif
};
-
}
namespace __xray {
@@ -49,8 +48,10 @@ struct XRaySledMap {
size_t Entries;
};
-bool patchFunctionEntry(const bool Enable, const uint32_t FuncId, const XRaySledEntry& Sled);
-bool patchFunctionExit(const bool Enable, const uint32_t FuncId, const XRaySledEntry& Sled);
+bool patchFunctionEntry(const bool Enable, const uint32_t FuncId,
+ const XRaySledEntry &Sled);
+bool patchFunctionExit(const bool Enable, const uint32_t FuncId,
+ const XRaySledEntry &Sled);
} // namespace __xray
OpenPOWER on IntegriCloud