[clang] [FreeBSD] Support -stdlib=libstdc++ (PR #126302)

2025-02-15 Thread John Baldwin via cfe-commits
bsdjhb wrote: > It's not missing as in like someone forgot. It is intentional. Same goes for > FreeBSD and OpenBSD's Drivers. The base OS uses libc++ and anything else is > not supported. You could use it with a libstdc++ from ports. GCC supports both variants for the same reason. FreeBSD's

r336710 - Fix a typo/regression in r335495.

2018-07-10 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Jul 10 10:44:08 2018 New Revision: 336710 URL: http://llvm.org/viewvc/llvm-project?rev=336710&view=rev Log: Fix a typo/regression in r335495. Use getTriple.isMIPS64() to detect 64-bit MIPS ABIs in FreeBSD::getSupportedSanitizers() instead of getTriple.isMIPS32(). Reviewed B

Re: r335702 - Fix warning about unhandled enumeration in switch.

2018-06-27 Thread John Baldwin via cfe-commits
On 6/26/18 7:49 PM, Zachary Turner via cfe-commits wrote: > Author: zturner > Date: Tue Jun 26 19:49:22 2018 > New Revision: 335702 > > URL: http://llvm.org/viewvc/llvm-project?rev=335702&view=rev > Log: > Fix warning about unhandled enumeration in switch. > > Modified: > cfe/trunk/lib/Driver

r335691 - [mips] Explicitly specify the linker emulation for MIPS on FreeBSD.

2018-06-26 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Jun 26 17:02:16 2018 New Revision: 335691 URL: http://llvm.org/viewvc/llvm-project?rev=335691&view=rev Log: [mips] Explicitly specify the linker emulation for MIPS on FreeBSD. FreeBSD's mips64 builds O32 binaries for /usr/lib32 by default and thus needs to be able to link O3

r335653 - [mips] Use more conservative default CPUs for MIPS on FreeBSD.

2018-06-26 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Jun 26 12:48:05 2018 New Revision: 335653 URL: http://llvm.org/viewvc/llvm-project?rev=335653&view=rev Log: [mips] Use more conservative default CPUs for MIPS on FreeBSD. FreeBSD defaults to mips3 for all MIPS ABIs with GCC as that is the minimum MIPS architecture FreeBSD su

[libunwind] r332414 - [libunwind][MIPS] Support MIPS floating-point registers for hard-float ABIs.

2018-05-15 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue May 15 15:44:56 2018 New Revision: 332414 URL: http://llvm.org/viewvc/llvm-project?rev=332414&view=rev Log: [libunwind][MIPS] Support MIPS floating-point registers for hard-float ABIs. Summary: For MIPS ABIs with 64-bit floating point registers including newabi and O32 with

[libunwind] r326250 - [libunwind][MIPS]: Add support for unwinding in N32 processes.

2018-02-27 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Feb 27 13:24:02 2018 New Revision: 326250 URL: http://llvm.org/viewvc/llvm-project?rev=326250&view=rev Log: [libunwind][MIPS]: Add support for unwinding in N32 processes. Summary: N32 uses the same register context as N64. However, N32 requires one change to properly fetch

[libunwind] r326223 - [libunwind] Permit additional compiler and linker flags to be passed to tests.

2018-02-27 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Feb 27 10:40:04 2018 New Revision: 326223 URL: http://llvm.org/viewvc/llvm-project?rev=326223&view=rev Log: [libunwind] Permit additional compiler and linker flags to be passed to tests. Summary: This is done via new LIBUNWIND_TEST_COMPILER_FLAGS and LIBUNWIND_TEST_LINKER_FL

r324948 - Look for 32-bit libraries in /usr/lib32 for MIPS O32 on FreeBSD.

2018-02-12 Thread John Baldwin via cfe-commits
Author: jhb Date: Mon Feb 12 14:22:01 2018 New Revision: 324948 URL: http://llvm.org/viewvc/llvm-project?rev=324948&view=rev Log: Look for 32-bit libraries in /usr/lib32 for MIPS O32 on FreeBSD. Summary: FreeBSD N64 MIPS systems can include 32-bit libraries for O32 in /usr/lib32 similar to the 32

[libunwind] r322093 - [libunwind][MIPS]: Rename Registers_mips_n64 to Registers_mips_newabi.

2018-01-09 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Jan 9 09:07:18 2018 New Revision: 322093 URL: http://llvm.org/viewvc/llvm-project?rev=322093&view=rev Log: [libunwind][MIPS]: Rename Registers_mips_n64 to Registers_mips_newabi. This is in preparation for adding support for N32 unwinding which reuses the newabi register cla

[libunwind] r320528 - [libunwind][MIPS]: Add support for unwinding in O32 and N64 processes.

2017-12-12 Thread John Baldwin via cfe-commits
Author: jhb Date: Tue Dec 12 13:43:36 2017 New Revision: 320528 URL: http://llvm.org/viewvc/llvm-project?rev=320528&view=rev Log: [libunwind][MIPS]: Add support for unwinding in O32 and N64 processes. This supports the soft-float ABI only and has been tested with both clang and gcc on FreeBSD. R

Re: [libunwind] r316745 - Express Registers_*::lastDwarfReg using _LIBUNWIND_HIGHEST_DWARF_REGISTER

2017-10-27 Thread John Baldwin via cfe-commits
On 10/27/17 8:59 AM, Martin Storsjo via cfe-commits wrote: > Author: mstorsjo > Date: Fri Oct 27 00:59:01 2017 > New Revision: 316745 > > URL: http://llvm.org/viewvc/llvm-project?rev=316745&view=rev > Log: > Express Registers_*::lastDwarfReg using _LIBUNWIND_HIGHEST_DWARF_REGISTER > > This avoids

[libunwind] r313920 - [libunwind] Partially revert r297174 to fix build on at least FreeBSD.

2017-09-21 Thread John Baldwin via cfe-commits
Author: jhb Date: Thu Sep 21 14:28:48 2017 New Revision: 313920 URL: http://llvm.org/viewvc/llvm-project?rev=313920&view=rev Log: [libunwind] Partially revert r297174 to fix build on at least FreeBSD. The changes in r297174 moved the #include of on FreeBSD (and probably other systems) inside of