[all-commits] [llvm/llvm-project] f75126: [FreeBSD] Support -stdlib=libstdc++
Alexander Richardson via All-commits
all-commits at lists.llvm.org
Sun Feb 16 12:33:12 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f75126eeabba13ce2aab53c2e4296fca12b9da0d
https://github.com/llvm/llvm-project/commit/f75126eeabba13ce2aab53c2e4296fca12b9da0d
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2025-02-16 (Sun, 16 Feb 2025)
Changed paths:
M clang/lib/Driver/ToolChains/FreeBSD.cpp
M clang/test/Driver/experimental-library-flag.cpp
M clang/test/Driver/freebsd.cpp
Log Message:
-----------
[FreeBSD] Support -stdlib=libstdc++
The experimental-library-flag.cpp test was failing on FreeBSD builders,
which turned to be caused by missing support for -stdlib=libcstdc++ (and
just using a hardcoded libc++ in all cases).
Simplify FreeBSD::AddCXXStdlibLibArgs() by deferring to the parent class
and dealing with the FreeSBD < 14 profiling support as a special case.
While touching the test file also drop the unnecessary `-o %t.o`. This is
not needed since the RUN lines use -### and don't produce any output.
Reviewed By: DimitryAndric, MaskRay
Pull Request: https://github.com/llvm/llvm-project/pull/126302
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