When hwasan-match-all-tag flag is enabled and short granules are used, at the point checking if this is a short tag case, the tag from pointer is stored in X16 register,
which breaks the assumption that tag from shadow memory is stored in X16 register, this will cause a false positive.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
UNSUPPORTED: HWAddressSanitizer-x86_64 :: TestCases/short-granule-and-match-all-tag.cpp (19669 of 70430)
Pre-merge checks buildbot does not support HWASAN test, so we can not see this test failure in premerge checks .
Do you mean I create another differential only containing this testcase, commit it to llvm trunk and check if sanitizer-aarch64-linux-bootstrap-hwasan(https://lab.llvm.org/buildbot/#/builders/236) will fail?
Comment Actions
Sorry, I was asking to precommit hwasan-check-accessible with checks generated for that current state of LLVM
short-granule-and-match-all-tag.cpp should stay in the main patch
can you please precommit this test with the current state of HWASAN, so we can see a difference here