================
@@ -66,8 +66,10 @@ void test_simple_constructors() {
int *ptr1 = pair1.first;
#ifdef O0
- assert(dfsan_read_label(&i1, sizeof(i1)) == 10);
- assert(dfsan_read_label(&ptr1, sizeof(ptr1)) == 10);
+ assert(dfsan_read_label(&i1, sizeof(i1)) == 8 ||
----------------
anoopkg6 wrote:
Changes to tests were not SystemZ specific. Actually dfsan_get_label points
exactly to individual element in the struct during struct copy instead of union
of all element's label in struct at -O0 on SystemZ.
Modified tests to accept union of labels in struct and individual label both
only for SystemZ.
https://github.com/llvm/llvm-project/pull/168991
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits