summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-04-23 13:23:21 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-04-23 13:23:21 +0000
commit9316d89d55a16b2d30c0622de55aa1e73bb33b1a (patch)
tree9ec38861d97742a2a31d89c8a081dba911b16fa8
parentac990bfcd370388c59966441f2cca509baaace68 (diff)
downloadbcm5719-llvm-9316d89d55a16b2d30c0622de55aa1e73bb33b1a.tar.gz
bcm5719-llvm-9316d89d55a16b2d30c0622de55aa1e73bb33b1a.zip
[asan] debug_mapping.cc should also pass when the leading digit of SHADOW_SCALE is hexadecimal.
Summary: Previously the CHECK directive for SHADOW_SCALE only matched decimal digits causing it to match '7' on x86_64 instead of the whole value. This fixes a failure on mips-linux-gnu targets where the leading digit is 'a'. Reviewers: kcc, sagar, timurrrr Reviewed By: timurrrr Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9199 llvm-svn: 235594
-rw-r--r--compiler-rt/test/asan/TestCases/debug_mapping.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/debug_mapping.cc b/compiler-rt/test/asan/TestCases/debug_mapping.cc
index f96abf6d11c..bf6fa633b9b 100644
--- a/compiler-rt/test/asan/TestCases/debug_mapping.cc
+++ b/compiler-rt/test/asan/TestCases/debug_mapping.cc
@@ -8,7 +8,7 @@
// printed because of verbosity=1
// CHECK: SHADOW_SCALE: [[SCALE:[0-9]+]]
-// CHECK: SHADOW_OFFSET: [[OFFSET:[0-9]+]]
+// CHECK: SHADOW_OFFSET: [[OFFSET:[0-9a-f]+]]
int main() {
size_t scale, offset;
OpenPOWER on IntegriCloud