aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2024-09-19 20:16:28 +0300
committerGitHub <noreply@github.com>2024-09-19 10:16:28 -0700
commit8a34f6dba14e49332ff63abfa6a8aa3ca560fc50 (patch)
tree908385a36b26d54f791ca4ea3174cc3712028768 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parent74c0ab6f3925f5a9461bde1a7ca4d4dbc369b07e (diff)
downloadllvm-8a34f6dba14e49332ff63abfa6a8aa3ca560fc50.zip
llvm-8a34f6dba14e49332ff63abfa6a8aa3ca560fc50.tar.gz
llvm-8a34f6dba14e49332ff63abfa6a8aa3ca560fc50.tar.bz2
[ASAN] Do not consider alignment during object size calculations (#109120)
It was found that ASAN logic optimizes away out-of-bound access instrumentation for over-aligned arrays. See #108287 for complete code examples. Fix it by not considering alignment during object size calculation, since out-of-bounds access for over-aligned object is still UB and should be reported by ASAN. Closes: #108287
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions