diff options
author | Thurston Dang <thurston@google.com> | 2023-05-19 21:32:54 +0000 |
---|---|---|
committer | Thurston Dang <thurston@google.com> | 2023-05-24 19:30:05 +0000 |
commit | 8a8c2b2ea54bd0ab13a0b9cde32109542836a46b (patch) | |
tree | 518b5c0dc3fccb0377f188c404124c6b7b9a978a /clang/lib/Basic/SourceManager.cpp | |
parent | f0687b47a0ce82da07127fee4fe6af801df54ca6 (diff) | |
download | llvm-8a8c2b2ea54bd0ab13a0b9cde32109542836a46b.zip llvm-8a8c2b2ea54bd0ab13a0b9cde32109542836a46b.tar.gz llvm-8a8c2b2ea54bd0ab13a0b9cde32109542836a46b.tar.bz2 |
sanitizer_common: add test that calls wcslen
This is a very simple test that calls wsclen. There are currently no other HWASan tests that call wsclen, which is why the wcslen interceptor issue (triggered by https://reviews.llvm.org/D150708 and fixed in https://reviews.llvm.org/D150909) was only detected by stage2/hwasan check on the buildbots. With this test, the issue would have been caught by stage1 check-sanitizer, with a more obvious diagnosis.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D151000
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions