[clang] [clang] [unittest] Add a test for Generic_GCC::GCCVersion::Parse (PR #69078)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 20 13:36:23 PDT 2023


mstorsjo wrote:

> ```c
> #if !defined(LLVM_BUILD_SHARED_LIBS)
> ```
> 
> is not great but is not too bad. `-DBUILD_SHARED_LIBS=on` modes are slow to execute tests and are not used often for Release builds.

I went ahead and relanded this now, in 538b7ba2aacd6e400ee63c4f9ff1c2543ae69a90, with `#if !defined(LLVM_BUILD_LLVM_DYLIB) && !defined(LLVM_BUILD_SHARED_LIBS)`. Not great, but probably the least bad compromise.

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


More information about the cfe-commits mailing list