rust/mk
Björn Steinbrink 677367599e Revamp codegen tests to check IR quality instead of quantity
The current codegen tests only compare IR line counts between similar
rust and C programs, the latter getting compiled with clang. That looked
like a good idea back then, but actually things like lifetime intrinsics
mean that less IR isn't always better, so the metric isn't really
helpful.

Instead, we can start doing tests that check specific aspects of the
generated IR, like attributes or metadata. To do that, we can use LLVM's
FileCheck tool which has a number of useful features for such tests.

To start off, I created some tests for a few things that were recently
added and/or broken.
2015-05-27 12:08:31 +02:00
..
cfg Specify linkers for cross-compile scenarios 2015-05-22 14:56:41 -07:00
clean.mk mk: Enable building LLVM targeting MSVC 2015-05-19 10:52:57 -07:00
crates.mk mk: Correct names of installed libs on windows 2015-05-19 10:36:00 -07:00
ctags.mk Fix make TAGS.emacs. 2014-12-16 17:08:49 +01:00
debuggers.mk Make build timestamp files robust in face of concurrent source modification. 2015-03-03 15:11:01 +01:00
dist.mk mk: Don't build compiler-docs before installation. #25699 2015-05-22 13:02:52 -07:00
docs.mk Remove error diagnostics uniqueness check and .json generation. 2015-05-22 15:40:12 +02:00
grammar.mk Add a LALR grammar for Rust with testing support 2015-01-20 18:47:17 -08:00
host.mk mk: Add space before line continuation backslash 2014-07-23 08:44:11 -07:00
install.mk configure: Remove obsolete --disable-verify option 2015-04-08 12:16:47 -07:00
llvm.mk mk: Add the ability to depend on native LLVM tools 2015-05-19 10:53:04 -07:00
main.mk Auto merge of #25624 - steveklabnik:rollup, r=steveklabnik 2015-05-20 04:28:47 +00:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk mk: Don't add cross prefixes for MSVC 2015-05-19 10:52:57 -07:00
prepare.mk mk: Update make dist for MSVC targets 2015-05-19 10:53:07 -07:00
reconfig.mk Correct building documenation with Pandoc and TeX on Windows. 2014-11-06 18:08:33 +03:00
rt.mk mk: Fix building compiler-rt on MSVC 2015-05-19 10:52:57 -07:00
rustllvm.mk mk: Fix MSVC build for rustllvm.lib 2015-05-19 10:52:57 -07:00
snap.mk mk: Remove extra whitespace before line continuation backslashes 2014-07-23 08:41:55 -07:00
stage0.mk mk/stage0: complain instead of creating an empty file 2014-11-20 16:00:12 -05:00
target.mk mk: Generate a .def file for rustc_llvm on MSVC 2015-05-19 10:53:07 -07:00
tests.mk Revamp codegen tests to check IR quality instead of quantity 2015-05-27 12:08:31 +02:00
util.mk mk: Add a printer helper to the make setup 2015-04-10 17:10:03 -07:00