From ea831e4c46d2b12050527f7c2c3808a75a4e92b3 Mon Sep 17 00:00:00 2001 From: Sagar Thakur Date: Wed, 15 Feb 2017 10:54:09 +0000 Subject: [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 --- compiler-rt/lib/xray/xray_interface.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler-rt/lib/xray/xray_interface.cc') 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 */ -- cgit v1.2.3