[clang] Update GoogleTest to v1.14.0 (PR #65823)

Zero Omega via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 14 10:48:54 PDT 2023


zeroomega wrote:

> Ok, seems like the only problem is the MemProf unit test compiler-rt/lib/memprof/tests/
> 
> So if I manually disable that I don't see any other failures with this patch.

I think any components that uses freshly built clang (stage1) could potentially run into this problem again, the correct way to solve it is to provide a compatible C++ Library to the freshly built clang when it built compiler-rt and related tests. For example, use -D with `RUNTIMES_${target}_CMAKE_CXX_FLAGS` and `RUNTIMES_${target}_CMAKE_CXX_FLAGS` to pass `--gcc-toolchain` (it might be deprecated and there is an updated flag for it) to the runtimes build. This will probably allow stage1 clang to use gcc's stdlib like your bootstrap clang.

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


More information about the cfe-commits mailing list