[clang] [libcxx] [mlir] [llvm] [compiler-rt] [sanitizer] Skip /include/c++/ from summary (PR #78534)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 21:45:27 PST 2024


MaskRay wrote:

> std:: usually is not a cause of the bug.

Consider elaborating this message.

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/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:147:27 in std::__new_allocator<char>::allocate(unsigned long, void const*)`

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


More information about the cfe-commits mailing list