Details
Details
- Reviewers
eugenis - Commits
- rG864820bb3cf5: [HWASAN] Add test for optnone function.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll | ||
---|---|---|
115 | Should this say [[TMP11]]? It is otherwise unused. Overall I feel this test is too detailed and potentially brittle. If you want to check that tagging/untagging happens within lifetime bounds, that can be done with just a few lines. Also, I could be misreading, but does this show __hwasan_tag_memory after lifetime.end? |
llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll | ||
---|---|---|
115 | This is copy-pasted from the test just above, just with added _optnull. |
llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll | ||
---|---|---|
115 | Rebased this to a CL that fixes this problem. PTAL. |
Should this say [[TMP11]]? It is otherwise unused.
Overall I feel this test is too detailed and potentially brittle. If you want to check that tagging/untagging happens within lifetime bounds, that can be done with just a few lines.
Also, I could be misreading, but does this show __hwasan_tag_memory after lifetime.end?