[all-commits] [llvm/llvm-project] a0b66b: [compiler-rt][asan][test] Make wchar tests more ro...

Maosu Zhao via All-commits all-commits at lists.llvm.org
Thu Oct 16 11:22:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0b66b56c182a6fb23f369291079b6aee1a5814e
      https://github.com/llvm/llvm-project/commit/a0b66b56c182a6fb23f369291079b6aee1a5814e
  Author: Maosu Zhao <maosu.zhao at intel.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M compiler-rt/test/asan/TestCases/wcscat.cpp
    M compiler-rt/test/asan/TestCases/wcscpy.cpp
    M compiler-rt/test/asan/TestCases/wcsncat.cpp
    M compiler-rt/test/asan/TestCases/wcsncpy.cpp

  Log Message:
  -----------
  [compiler-rt][asan][test] Make wchar tests more robust (#163715)

The stack buffer which is used to trigger out of bounds issue doesn't
have obervable side effects, so it can easily be optimized by compiler
as dead code.

Signed-off-by: Maosu Zhao <maosu.zhao at intel.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list