ldc/utils
2024-11-26 08:46:15 -07:00
..
CMakeLists.txt utils/CMakeLists.txt: Fix missed llvm 14 version check (#4666) 2024-05-20 23:33:05 +02:00
FileCheck-15.cpp Add FileCheck for LLVM15 2023-01-26 13:54:17 +01:00
FileCheck-16.cpp utils: Add FileCheck-16 from LLVM release/16.x 2023-06-03 22:11:32 +01:00
FileCheck-17.cpp Add support for LLVM 17. (#4533) 2023-12-03 19:07:31 +01:00
FileCheck-18.cpp Fix FileCheck util with LLVM 18 2024-03-28 16:42:51 +01:00
FileCheck-19.cpp Add preliminary support for LLVM 19 2024-11-26 08:46:15 -07:00
gen_gccbuiltins.cpp Drop support for LLVM 14 2024-05-19 14:18:32 +02:00
not.cpp For LLVM >= 16, use std::optional APIs 2023-06-03 22:07:24 +01:00
README.md "Update" FileCheck 3.5 and 3.6 to version 3.7. 2016-06-12 11:46:14 +02:00
split-file.cpp Avoid deprecations with LLVM 18 wrt. renamed llvm::StringRef::{starts,ends}with() 2024-03-28 16:42:51 +01:00

LDC Utils

The /utils directory contains utilities that are used in building LDC (gen_gccbuiltins.cpp) and testing LDC (not and FileCheck).

not is copied from LLVM

FileCheck is copied from LLVM, and versioned for each LLVM version that we support (for example, FileCheck-3.9.cpp does not compile with LLVM 3.5). Older versions of FileCheck contain modifications such that they contain new features/bugfixes but still compile with older LLVM versions.

How not and FileCheck are used is decribed here: LDC Lit-based testsuite.