ldc/utils
Fangrui Song 91aeb0e674 CMake: Fix LLVM_INTRINSIC_TD_PATH and LDC_INSTALL_PREFIX expansion (#3223)
In -std=gnu* mode, `linux` is a macro that expands to 1. If
LLVM_INTRINSIC_TD_PATH (bare string) contains `linux` (e.g.
x86_64-linux-gnu), LLVM_INTRINSIC_TD_PATH in gen_gccbuiltins.cpp will be
expanded and the whole string will get corrupted.

Fix it by switching from bare strings to C++ raw string literals
(preserving Windows backslashes).
2019-11-11 20:54:56 +01:00
..
CMakeLists.txt CMake: Fix LLVM_INTRINSIC_TD_PATH and LDC_INSTALL_PREFIX expansion (#3223) 2019-11-11 20:54:56 +01:00
FileCheck-3.9.cpp update FileCheck-3.9.cpp from LLVM 2016-06-18 11:44:47 +02:00
FileCheck-4.0.cpp Add LLVM 4.0 FileCheck util 2016-07-19 17:58:02 +02:00
FileCheck-5.0.cpp Update LLVM5.0 profdata and filecheck. 2017-07-14 15:03:44 +02:00
FileCheck-6.0.cpp Update LLVM 6.0 FileCheck and llvm-profdata (#2602) 2018-03-01 00:11:40 +01:00
FileCheck-7.0.cpp Upgrade LLVM to v7.0.0 2018-09-26 17:21:35 +02:00
FileCheck-8.0.cpp Update LLVM 8 llvm-profdata and FileCheck 2019-03-02 19:56:59 +01:00
FileCheck-9.0.cpp Azure & Shippable: Upgrade LDC-LLVM to v9.0.0 2019-09-25 03:42:18 +02:00
gen_gccbuiltins.cpp CMake: Fix LLVM_INTRINSIC_TD_PATH and LDC_INSTALL_PREFIX expansion (#3223) 2019-11-11 20:54:56 +01:00
not.cpp Fix build with LLVM trunk. (#2767) 2018-07-09 20:09:44 +02:00
README.md "Update" FileCheck 3.5 and 3.6 to version 3.7. 2016-06-12 11:46:14 +02: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.