summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/xray/xray_interface.cc
diff options
context:
space:
mode:
authorSagar Thakur <sagar.thakur@imgtec.com>2017-02-15 10:54:09 +0000
committerSagar Thakur <sagar.thakur@imgtec.com>2017-02-15 10:54:09 +0000
commitea831e4c46d2b12050527f7c2c3808a75a4e92b3 (patch)
tree819d608aacae1ca48408c1d6797e44d244e98ce2 /compiler-rt/lib/xray/xray_interface.cc
parentec65792910293883ebb71de4cc857ff222aa5aaf (diff)
downloadbcm5719-llvm-ea831e4c46d2b12050527f7c2c3808a75a4e92b3.tar.gz
bcm5719-llvm-ea831e4c46d2b12050527f7c2c3808a75a4e92b3.zip
[Compiler-rt][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el
Summary: Adds support for xray on mips/mipsel/mips64/mips64el. Reviewed by sdardis, dberris Differential: D27699 llvm-svn: 295166
Diffstat (limited to 'compiler-rt/lib/xray/xray_interface.cc')
-rw-r--r--compiler-rt/lib/xray/xray_interface.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/xray/xray_interface.cc b/compiler-rt/lib/xray/xray_interface.cc
index 0b13983e58d..16443265c1b 100644
--- a/compiler-rt/lib/xray/xray_interface.cc
+++ b/compiler-rt/lib/xray/xray_interface.cc
@@ -35,6 +35,10 @@ static const int16_t cSledLength = 12;
static const int16_t cSledLength = 32;
#elif defined(__arm__)
static const int16_t cSledLength = 28;
+#elif SANITIZER_MIPS32
+static const int16_t cSledLength = 48;
+#elif SANITIZER_MIPS64
+static const int16_t cSledLength = 64;
#else
#error "Unsupported CPU Architecture"
#endif /* CPU architecture */
OpenPOWER on IntegriCloud