Fixed vptr test. With this patch, all ubsan tests pass on qemu-arm.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I see, the problem is that we're accidentally relying on the stack buffer 'Buffer' being 8-byte aligned.
test/ubsan/TestCases/TypeCheck/vptr.cpp | ||
---|---|---|
89 | Please add an optional extra space between the two groups of 0s rather than making the second group optional. You don't need the parens around the optional spaces. |
Please add an optional extra space between the two groups of 0s rather than making the second group optional.
You don't need the parens around the optional spaces.