[compiler-rt] [test][hwasan] Test function name in summaries #77391 (PR #77397)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 00:09:22 PST 2024


vitalybuka wrote:

> Hi @vitalybuka, one of our internal build bots had a test failure in compiler-rt/test/hwasan/TestCases/allocator_returns_null.cpp after your change with an error similar to this:
> 
> ```
> /home/jenkins/j/w/compiler-rt/test/hwasan/TestCases/allocator_returns_null.cpp:96:18: error: CHECK-rCRASH: expected string not found in input
> // CHECK-rCRASH: SUMMARY: HWAddressSanitizer: allocation-size-too-big {{.*}} in realloc
>                  ^
> <stdin>:1:9: note: scanning from here
> realloc:
>         ^
> <stdin>:8:1: note: possible intended match here
> SUMMARY: HWAddressSanitizer: allocation-size-too-big /home/jenkins/j/w/compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp:135:3 in __sanitizer_realloc.part.0
> ^
> ```
> 
> Is this expected? If so, can the test be updated to work correctly with this slightly different output?

Is this improved after https://github.com/llvm/llvm-project/pull/77406 ?

https://github.com/llvm/llvm-project/pull/77397


More information about the llvm-commits mailing list