[all-commits] [llvm/llvm-project] 400a02: [sanitizer] Handle Gentoo's libstdc++ path
Sam James via All-commits
all-commits at lists.llvm.org
Tue Jan 30 15:49:50 PST 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 400a02bb281ba0de79211ab53d931e44dd76733f
https://github.com/llvm/llvm-project/commit/400a02bb281ba0de79211ab53d931e44dd76733f
Author: Sam James <sam at gentoo.org>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Log Message:
-----------
[sanitizer] Handle Gentoo's libstdc++ path
On Gentoo, libc++ is indeed in /usr/include/c++/*, but libstdc++ is at
e.g. /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14.
Use '/include/g++' as it should be unique enough. Note that the omission of
a trailing slash is intentional to match g++-*.
See https://github.com/llvm/llvm-project/pull/78534#issuecomment-1904145839.
Reviewed by: mgorny
Closes: https://github.com/llvm/llvm-project/pull/79264
Signed-off-by: Sam James <sam at gentoo.org>
(cherry picked from commit e8f882f83acf30d9b4da8846bd26314139660430)
More information about the All-commits
mailing list