ldc/tools
Nicholas Wilson a73188c8e5
LLVM7 (#2490)
* MCAsmBackend changes

* Add profile-rt-70

* ProfData definition

* ProfData tool

* Remove profile-rt CMakeLists.txt

* Update druntime submodule
2018-01-14 07:57:55 +08:00
..
ldc-profdata LLVM7 (#2490) 2018-01-14 07:57:55 +08:00
CMakeLists.txt Rename "ir2obj-cache" to "cache" (source and filenames) 2016-10-12 18:58:01 +02:00
ldc-prune-cache.d Fix ldc-prune-cache help text. 2017-01-20 22:51:15 +01:00
README.md Rename -ir2obj-cache-* cmdline flags to -cache-*, because the cache can be used for more things than just ir2obj caching. 2016-10-12 18:58:01 +02:00

LDC Tools

The /tools directory contains user tools that accompany LDC and that should be part of LDC packages.

ldc-prune-cache helps keeping the size of LDC's object file cache (-cache) in check. See the original PR for more details.

ldc-profdata converts raw profiling data to a profile data format that can be used by LDC. The source is copied from LLVM (llvm-profdata), and is versioned for each LLVM version that we support because the version has to match exactly with LDC's LLVM version.