[all-commits] [llvm/llvm-project] 461914: Revert "[sanitizer] Skip /include/c++/ from summar...

Hans via All-commits all-commits at lists.llvm.org
Fri Jan 19 02:00:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4619147911c2a955bb605618bc518b45da994a81
      https://github.com/llvm/llvm-project/commit/4619147911c2a955bb605618bc518b45da994a81
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
    M compiler-rt/test/sanitizer_common/TestCases/allocator_returns_null.cpp

  Log Message:
  -----------
  Revert "[sanitizer] Skip /include/c++/ from summary (#78534)"

The test fails on Darwin, see comment on the PR.

> std:: usually is not a cause of the bug.
>
> We now display
> ```
> SUMMARY: AddressSanitizer: allocation-size-too-big path/to/allocator_returns_null.cpp:92:7 in main
> ```
> instead of
>
> ```
> SUMMARY: AddressSanitizer: allocation-size-too-big /usr/lib/../include/c++/13/bits/new_allocator.h:147:27 in std::__new_allocator<char>::allocate(unsigned long, void const*)
> ```
>
> `/include/c++/` matches both libc++ and libstdc++ include paths.

This reverts commit ecd47811b755d13357085bcd7519a66d6c4d8e5c.




More information about the All-commits mailing list