summary refs log tree commit diff
path: root/src/test/codegen-units
AgeCommit message (Collapse)AuthorLines
2016-08-12Make the translation item collector handle *uses* of 'const' items instead ↵Michael Woerister-0/+93
of declarations.
2016-07-08trans: Adjust linkage assignment so that we don't need weak linkage.Michael Woerister-20/+22
2016-07-08Improve linkage assignment in trans::partitioning.Michael Woerister-45/+45
2016-07-08Ignore closure-related translation item collection tests.Michael Woerister-0/+10
2016-06-16fix codegen-units falloutAriel Ben-Yehuda-2/+0
2016-06-04fix fallout in testsAriel Ben-Yehuda-6/+0
2016-05-23trans::collector: Remove some redundant calls to erase_regions().Michael Woerister-0/+4
2016-05-11trans: Make collector handle the drop_in_place() intrinsic.Michael Woerister-0/+41
2016-05-11Add test for collecting items in staticsJames Miller-0/+23
2016-05-11trans: Don't try to place declarations during codegen unit partitioning.Michael Woerister-11/+11
2016-05-07Rollup merge of #33438 - birkenfeld:dup-words, r=steveklabnikSteve Klabnik-1/+1
Fix some some duplicate words.
2016-05-06s/aux/auxiliary, because windowsNiko Matsakis-0/+0
For legacy reasons (presumably), Windows does not permit files name aux.
2016-05-06move auxiliary builds to a test-relative `aux`Niko Matsakis-0/+178
Instead of finding aux-build files in `auxiliary`, we now search for an `aux` directory relative to the test. So if your test is `compile-fail/foo.rs`, we would look in `compile-fail/aux`. Similarly, we ignore the `aux` directory when searching for tets.
2016-05-05Fix some some duplicate words.Georg Brandl-1/+1
2016-05-01Fix a race condition caused by concurrently executed codegen unit tests.Michael Woerister-10/+31
2016-04-28Make the codegen unit partitioner also emit item declarations.Michael Woerister-21/+21
2016-04-28Add FixedUnitCount codegen unit partitioning strategy.Michael Woerister-10/+10
2016-04-28Let the translation item collector make a distinction between drop-glue kindsMichael Woerister-5/+14
2016-04-28Fix codegen-units testsJames Miller-6/+2
I'm not sure what the signficance of `drop-glue i8` is, nor why one of the tests had it appear while the others had it disappear. Either way it doesn't seem like the presence or absense of it is the focus of the tests.
2016-04-28Fixup testsJames Miller-6/+0
The drop glue for `i8` is no longer generated as a trans item
2016-04-15Add initial version of codegen unit partitioning for incremental compilation.Michael Woerister-0/+601
2016-04-14Move translation-item-collection tests into subfolder.Michael Woerister-0/+0
2016-03-25fallout: update codegen-units testsNiko Matsakis-74/+74
2016-01-26Implement the translation item collector.Michael Woerister-0/+1346
The purpose of the translation item collector is to find all monomorphic instances of functions, methods and statics that need to be translated into LLVM IR in order to compile the current crate. So far these instances have been discovered lazily during the trans path. For incremental compilation we want to know the set of these instances in advance, and that is what the trans::collect module provides. In the future, incremental and regular translation will be driven by the collector implemented here.