diff options
| author | Kunqiu Chen <camsyn@foxmail.com> | 2025-06-25 15:22:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-25 15:22:54 +0800 |
| commit | 956bab0381e90accdfd767aabe44b0c25055c87d (patch) | |
| tree | 7a675f547d1026f901b30445f4d782bfa740b83d /lldb/packages/Python/lldbsuite/test | |
| parent | d95f46ca84d754b6368dfd256969273148c98d14 (diff) | |
| download | llvm-956bab0381e90accdfd767aabe44b0c25055c87d.zip llvm-956bab0381e90accdfd767aabe44b0c25055c87d.tar.gz llvm-956bab0381e90accdfd767aabe44b0c25055c87d.tar.bz2 | |
[TSan] Add 2 test cases related to incomplete shadow cleanup in unmap (#145472)
Once part of PR #144648, follow the reviewer's advice and split into
this separate PR.
`unmap` works at page granularity, but supports an arbitrary non-zero
size as an argument, which results in possible shadow undercleaning in
the existing TSan implementation when `size % kShadowCell != 0`.
This change introduces two test cases to verify the shadow cleaning
effect in `unmap`.
- java_heap_init2.cpp: Imitating java_heap_init cpp, verify the
incomplete cleaning of meta
- munmap_clear_shadow.c: verify the incomplete cleaning of shadow
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
