[compiler-rt] 1e3e2a1 - [test][hwasan] Update test expectation for LAM
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 15:17:40 PST 2023
Author: Vitaly Buka
Date: 2023-12-14T15:17:27-08:00
New Revision: 1e3e2a1cf58784f93cc7c70746246d3cc03bd0fa
URL: https://github.com/llvm/llvm-project/commit/1e3e2a1cf58784f93cc7c70746246d3cc03bd0fa
DIFF: https://github.com/llvm/llvm-project/commit/1e3e2a1cf58784f93cc7c70746246d3cc03bd0fa.diff
LOG: [test][hwasan] Update test expectation for LAM
We cat run LAM tests on QEMU.
Added:
Modified:
compiler-rt/test/hwasan/TestCases/tag-ptr.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/hwasan/TestCases/tag-ptr.cpp b/compiler-rt/test/hwasan/TestCases/tag-ptr.cpp
index 2f00e7913bb155..87a07e311b17ed 100644
--- a/compiler-rt/test/hwasan/TestCases/tag-ptr.cpp
+++ b/compiler-rt/test/hwasan/TestCases/tag-ptr.cpp
@@ -17,7 +17,7 @@ int main() {
assert(__hwasan_get_tag_from_pointer(ptr) == i);
}
#ifdef __x86_64__
- assert(ptrs.size() == 8);
+ assert(ptrs.size() == 8 || ptrs.size() == 64);
#else
assert(ptrs.size() == 256);
#endif
More information about the llvm-commits
mailing list