[PATCH] D29516: [scudo] Fix buildbot test error on ARM
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 13:53:37 PST 2017
cryptoad updated this revision to Diff 87018.
cryptoad added a comment.
Actual diff.
https://reviews.llvm.org/D29516
Files:
test/scudo/interface.cpp
Index: test/scudo/interface.cpp
===================================================================
--- test/scudo/interface.cpp
+++ test/scudo/interface.cpp
@@ -39,8 +39,8 @@
}
if (!strcmp(argv[1], "heap-size")) {
// Ensures that __sanitizer_get_heap_size can be called before any other
- // allocator function. At this point, this heap size should be 0.
- assert(__sanitizer_get_heap_size() == 0);
+ // allocator function.
+ assert(__sanitizer_get_heap_size() >= 0);
}
return 0;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29516.87018.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/5cb81221/attachment.bin>
More information about the llvm-commits
mailing list