summaryrefslogtreecommitdiff
path: root/lib/asan/tests/asan_test.cc
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-03-24 08:27:31 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2014-03-24 08:27:31 +0000
commite7ed8710ffe83a52f0722f3b4fda311eb855ca09 (patch)
tree35f79f325e404ca9d0fa68b3434cd581081502d3 /lib/asan/tests/asan_test.cc
parentd00c9beebfccb89fda8ac295e2909d57843fe313 (diff)
[asan] Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r--lib/asan/tests/asan_test.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc
index 7a2e98afd..bab686b71 100644
--- a/lib/asan/tests/asan_test.cc
+++ b/lib/asan/tests/asan_test.cc
@@ -565,7 +565,7 @@ NOINLINE void TouchStackFunc() {
A[i] = i*i;
}
-// Test that we handle longjmp and do not report fals positives on stack.
+// Test that we handle longjmp and do not report false positives on stack.
TEST(AddressSanitizer, LongJmpTest) {
static jmp_buf buf;
if (!setjmp(buf)) {
@@ -587,7 +587,8 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) {
TouchStackFunc();
}
}
-#endif // not defined(__ANDROID__)
+#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
+ // !defined(__powerpc__)
TEST(AddressSanitizer, UnderscopeLongJmpTest) {
static jmp_buf buf;