| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-24 | auto merge of #9336 : alexcrichton/rust/issue-7981, r=catamorphism | bors | -4/+4 | |
| Progress on #7981 This doesn't completely close the issue because `struct A;` is still allowed, and it's a much larger change to disallow that. I'm also not entirely sure that we want to disallow that. Regardless, punting that discussion to the issue instead. | ||||
| 2013-09-24 | Stop accepting 'impl ...;', require {} instead | Alex Crichton | -4/+4 | |
| Progress on #7981 | ||||
| 2013-09-23 | test: Fix rustdoc and tests. | Patrick Walton | -133/+0 | |
| 2013-09-19 | Replace unreachable() calls with unreachable!(). | Chris Morgan | -4/+2 | |
| This is the second of two parts of #8991, now possible as a new snapshot has been made. (The first part implemented the unreachable!() macro; it was #8992, 6b7b8f2682.) ``std::util::unreachable()`` is removed summarily; any code which used it should now use the ``unreachable!()`` macro. Closes #9312. Closes #8991. | ||||
| 2013-09-16 | switch Drop to `&mut self` | Daniel Micay | -9/+9 | |
| 2013-09-15 | debuginfo: Fix style nits for pull request. | Michael Woerister | -2/+0 | |
| 2013-09-15 | debuginfo: Added description of algorithm for handling recursive types. | Michael Woerister | -6/+6 | |
| Also fixed nasty bug caused by calling LLVMDIBuilderCreateStructType() with a null pointer where an empty array was expected (which would trigger an unintelligable assertion somewhere down the line). | ||||
| 2013-09-15 | debuginfo: Added test cases for recursive structs. | Michael Woerister | -0/+315 | |
| 2013-09-15 | debuginfo: Basic support for trait objects. | Michael Woerister | -0/+34 | |
| 2013-09-10 | debuginfo: Support for namespaces (functions only) | Michael Woerister | -78/+78 | |
| 2013-09-04 | debuginfo: Much improved handling of captured variables and by-value arguments. | Michael Woerister | -5/+18 | |
| 2013-09-04 | debuginfo: Added test cases for structs, tuples, enums, etc passed by value. | Michael Woerister | -40/+173 | |
| Also updated documentation comments in debuginfo and renamed DebugContext to CrateDebugContext. | ||||
| 2013-09-04 | debuginfo: Support for by-value arguments (still excluding some cases of ↵ | Michael Woerister | -3/+79 | |
| self arguments) | ||||
| 2013-09-04 | debuginfo: Support for variables captured in closures and closure type ↵ | Michael Woerister | -0/+175 | |
| descriptions. | ||||
| 2013-09-02 | switch __field__ hack to <unnamed_field> | Daniel Micay | -1/+2 | |
| avoids conflict with fields actually named `__field__` | ||||
| 2013-08-27 | librustc: Fix merge fallout. | Patrick Walton | -0/+4 | |
| 2013-08-26 | Un-disabled debug info tests on Windows. | Vadim Chugunov | -140/+4 | |
| 2013-08-17 | auto merge of #8554 : michaelwoerister/rust/generics, r=brson | bors | -11/+1880 | |
| This pull request includes support for generic functions and self arguments in methods, and combinations thereof. This also encompasses any kind of trait methods, regular and static, with and without default implementation. The implementation is backed up by a felt ton of test cases `:)` This is a very important step towards being able to compile larger programs with debug info, since practically any generic function caused an ICE before. One point worth discussing is that activating debug info now automatically (and silently) sets the `no_monomorphic_collapse` flag. Otherwise debug info would show wrong type names in all but one instance of the monomorphized function. Another thing to note is that the handling of generic types does not strictly follow the DWARF specification. That is, variables with type `T` (where `T=int`) are described as having type `int` and not as having type `T`. In other words, we are losing information whether a variable has been declared with a type parameter as its type. In practice this should not make much of difference though since the concrete type is mostly what one is interested in. I'll post an issue later so this won't be forgotten. Also included are a number of bug fixes: * Closes #1758 * Closes #8513 * Closes #8443 * Fixes handling of field names in tuple structs * Fixes and re-enables test case for option-like enums that relied on undefined behavior before * Closes #1339 (should have been closed a while ago) Cheers, Michael | ||||
| 2013-08-17 | Fix warnings it tests | Erick Tryzelaar | -29/+93 | |
| 2013-08-16 | debuginfo: Added test cases for static struct and enum methods. | Michael Woerister | -0/+134 | |
| 2013-08-16 | debuginfo: Test cases for [generic][default][static] methods and functions: | Michael Woerister | -1/+635 | |
| * closure-in-generic-function * generic-functions-nested * generic-method-on-generic-struct * generic-trait-generic-static-default-method * method-on-generic-struct * self-in-generic-default-method * trait-generic-static-default-method Also, fixed an 'unused variable' warning in debuginfo.rs | ||||
| 2013-08-16 | debuginfo: Add test case for issue #8513. | Michael Woerister | -0/+20 | |
| 2013-08-16 | debuginfo: Implemented support for Self type parameter in trait methods with ↵ | Michael Woerister | -0/+141 | |
| default implementation. | ||||
| 2013-08-16 | debuginfo: Added test cases for methods on structs, enums, traits, and ↵ | Michael Woerister | -0/+663 | |
| tuple-structs. Also new test cases for tuple structs and by-value parameter passing. | ||||
| 2013-08-16 | debuginfo: Added test cases for generic structs and enums. | Michael Woerister | -1/+198 | |
| Also, always set no_monomorphic_collapse flags if debuginfo is generated. | ||||
| 2013-08-16 | debuginfo: Properly handle monomorphization of generic functions. | Michael Woerister | -1/+16 | |
| 2013-08-16 | debuginfo: Generate template type parameters for generic functions. | Michael Woerister | -0/+48 | |
| Conflicts: src/librustc/lib/llvm.rs src/librustc/middle/trans/debuginfo.rs src/rustllvm/RustWrapper.cpp src/rustllvm/rustllvm.def.in | ||||
| 2013-08-16 | debuginfo: Fixed option-like-enum test case so it does not rely on undefined ↵ | Michael Woerister | -11/+28 | |
| behavior. | ||||
| 2013-08-13 | debuginfo: Add some tests for visibiliy scopes within closures. | Michael Woerister | -0/+237 | |
| 2013-08-13 | debuginfo: Add support for argument shadowing. | Michael Woerister | -0/+59 | |
| 2013-08-13 | debuginfo: Implemented proper handling of lexical scopes and variable shadowing. | Michael Woerister | -10/+1277 | |
| 2013-08-07 | xfail debug-info/option-like-enum | Brian Anderson | -0/+1 | |
| Don't understand why this broke. | ||||
| 2013-07-25 | debuginfo: Fixed a few things for PR. | Michael Woerister | -13/+19 | |
| 2013-07-25 | debuginfo: Support for destructured function arguments. | Michael Woerister | -0/+424 | |
| 2013-07-25 | debuginfo: Support for function arguments. (WIP) | Michael Woerister | -3/+1 | |
| 2013-07-25 | debuginfo: Implemented support for destructured locals. | Michael Woerister | -5/+182 | |
| Conflicts: src/librustc/middle/trans/debuginfo.rs src/test/debug-info/destructured-local.rs | ||||
| 2013-07-20 | debuginfo: Removed some test relying on data structure sizes hard to predict ↵ | Michael Woerister | -19/+23 | |
| for all possible platforms and configurations. | ||||
| 2013-07-19 | debuginfo: Adapted DI generation to new memory layout of unique vecs. | Michael Woerister | -2/+39 | |
| 2013-07-19 | debuginfo: Cleaned up style issues for pull request. | Michael Woerister | -96/+124 | |
| 2013-07-19 | debuginfo: Added support for Option<T>-like enums. | Michael Woerister | -0/+69 | |
| 2013-07-19 | debuginfo: Fixed unique pointers to data containing managed pointers. | Michael Woerister | -0/+45 | |
| 2013-07-19 | debuginfo: DI generation for enums uses adt::represent_type() now. | Michael Woerister | -6/+6 | |
| 2013-07-19 | debuginfo: Extended test suite with various tests for enums. | Michael Woerister | -0/+343 | |
| 2013-07-19 | debuginfo: Fixes related to changed memory layout of unique allocations | Michael Woerister | -4/+4 | |
| 2013-07-19 | debuginfo: Added support for struct-style enums. | Michael Woerister | -8/+107 | |
| 2013-07-19 | debuginfo: Better support for univariant tuple-style enums. | Michael Woerister | -3/+13 | |
| 2013-07-19 | debuginfo: Support for tuple-style enums (WIP) | Michael Woerister | -2/+81 | |
| 2013-07-19 | debuginfo: Added support for c-style enums. | Michael Woerister | -4/+220 | |
| 2013-07-19 | debuginfo: Added test cases for packed structs (/w drop) | Michael Woerister | -0/+356 | |
| 2013-07-19 | debuginfo: Refactoring of composite type info generation done. | Michael Woerister | -0/+34 | |
| There is no more StructContext now. Better support for boxed vectors in there too. | ||||
