Michael Woerister
b52eb4a0ff
debuginfo: Fixed some merge fallout
2013-07-19 11:29:27 +02:00
Michael Woerister
d8c27c3446
debuginfo: Fixed issue 7712.
2013-07-19 07:58:28 +02:00
Michael Woerister
72cf2ee136
debuginfo: Implemented trait_method branch in create_function_metadata().
2013-07-19 07:58:28 +02:00
Michael Woerister
a1c5c798c7
debuginfo: Added some documenting comments to debuginfo.rs
2013-07-19 07:58:28 +02:00
Michael Woerister
e9baeab695
debuginfo: Adapted DI generation to new memory layout of unique vecs.
2013-07-19 07:58:28 +02:00
Michael Woerister
b2aeb4b04b
debuginfo: Cleaned up style issues for pull request.
2013-07-19 07:58:28 +02:00
Michael Woerister
eed2d0e1f2
debuginfo: Added support for Option<T>-like enums.
2013-07-19 07:57:39 +02:00
Michael Woerister
7af2e6ee45
debuginfo: Fixed unique pointers to data containing managed pointers.
2013-07-19 07:57:39 +02:00
Michael Woerister
e0108a47ab
debuginfo: DI generation for enums uses adt::represent_type() now.
2013-07-19 07:57:38 +02:00
Michael Woerister
a33d1b8f1d
debuginfo: Major code cleanup in debuginfo.rs
2013-07-19 07:57:38 +02:00
Michael Woerister
77a00cca03
debuginfo: Fixes related to changed memory layout of unique allocations
2013-07-19 07:55:25 +02:00
Michael Woerister
3b06df4e35
debuginfo: Added support for struct-style enums.
2013-07-19 07:55:25 +02:00
Michael Woerister
7cf0aac6cf
debuginfo: Better support for univariant tuple-style enums.
2013-07-19 07:55:24 +02:00
Michael Woerister
f389bd8f2a
debuginfo: Support for tuple-style enums (WIP)
2013-07-19 07:55:24 +02:00
Michael Woerister
739f3eece9
debuginfo: Added support for c-style enums.
2013-07-19 07:55:24 +02:00
Michael Woerister
6230ec1482
debuginfo: Replaced vec::mapi with iterator version.
2013-07-19 07:55:24 +02:00
Michael Woerister
f424e931da
debuginfo: Refactoring of composite type info generation done.
...
There is no more StructContext now. Better support for boxed vectors in there too.
2013-07-19 07:55:24 +02:00
Michael Woerister
36ea756831
debuginfo: Refactored vec slice code to use the new infrastructure. Added test cases for vec slices.
2013-07-19 07:53:58 +02:00
Michael Woerister
976d7a53cb
debuginfo: Began refactoring of composite type handling.
2013-07-19 07:53:57 +02:00
Patrick Walton
99b33f7219
librustc: Remove all uses of "copy".
2013-07-17 14:57:51 -07:00
James Miller
47eca2113c
De-share ast::Ty
2013-07-07 22:51:10 +12:00
James Miller
cd1b6c8979
De-managed ast::Path
2013-07-07 22:51:09 +12:00
Corey Richardson
1662bd371c
Great renaming: propagate throughout the rest of the codebase
2013-06-29 11:20:02 -04:00
James Miller
a897a9ab9f
Remove useless namegen thunk
2013-06-28 18:00:20 +12:00
Michael Woerister
2f5e33d02f
debuginfo: Some corrections after review.
2013-06-27 19:28:37 +02:00
Michael Woerister
6af78610e7
debuginfo: Added support for region pointers.
2013-06-27 19:28:37 +02:00
Michael Woerister
46d28c874c
debuginfo: Replaced many instances of @ with &.
2013-06-27 19:28:17 +02:00
Michael Woerister
4d8f2fd871
debuginfo: Many little formatting improvements.
2013-06-27 19:28:17 +02:00
Michael Woerister
7bb189e56c
Fixed debug information bug regarding struct padding.
2013-06-27 19:28:17 +02:00
bors
a30ab764e1
auto merge of #7255 : michaelwoerister/rust/debuginfo, r=jdm
...
This PR contains no real code changes. Just some documentation additions in the form of comments and some internal reordering of functions within debuginfo.rs.
2013-06-26 05:20:06 -07:00
Ben Blum
ce857e3d60
Parse and typecheck (not kindcheck) bounds on trait paths.
2013-06-23 14:40:14 -04:00
Daniel Micay
d2e9912aea
vec: remove BaseIter implementation
...
I removed the `static-method-test.rs` test because it was heavily based
on `BaseIter` and there are plenty of other more complex uses of static
methods anyway.
2013-06-23 02:05:20 -04:00
James Miller
229a88217f
librust: cleanup warnings (except 1)
2013-06-21 02:43:03 +12:00
Michael Woerister
6eb3c0f30d
debuginfo.rs: Removed trailing whitespace.
2013-06-20 11:50:09 +02:00
Michael Woerister
60474f395c
debuginfo.rs: Explained why a function is called although one could think it should not be.
2013-06-20 11:50:09 +02:00
Michael Woerister
38743f51ad
debuginfo.rs: Removed some static constants not used anymore.
2013-06-20 11:50:09 +02:00
Michael Woerister
290d35312a
Reordered debuginfo.rs and commented public fns
2013-06-20 11:50:09 +02:00
Michael Woerister
f1bd3e7ca2
Fixed compiler warnings about unnecessary string allocations in debuginfo.rs
2013-06-20 11:50:09 +02:00
Michael Woerister
5d5311dc74
Added overview of the debuginfo module at the beginning of debuginfo.rs.
2013-06-20 11:50:09 +02:00
Vadim Chugunov
adff46250e
Fixed rebase fallout .
2013-06-17 08:42:05 -07:00
Vadim Chugunov
1e682e29eb
Refactoring and tidy warnings cleanup.
2013-06-17 08:41:26 -07:00
Vadim Chugunov
2b45591daf
Made unimplemented debuginfo a note rather than a compiler error.
2013-06-17 08:41:26 -07:00
Vadim Chugunov
65dd6218af
Fixed remaining issues to pass debug-test/* tests.
...
Made debugger scripts source line insensitive.
2013-06-17 08:41:25 -07:00
Vadim Chugunov
62e86e044d
Fixed compile warnings.
...
Fixed whitespace "errors".
2013-06-17 08:41:25 -07:00
Vadim Chugunov
00bb15bf72
Removed extraneous string allocations.
...
Misc refactoring.
2013-06-17 08:41:24 -07:00
Vadim Chugunov
6db3302b35
Debug loc for local var declarations
2013-06-17 08:41:24 -07:00
Vadim Chugunov
6cc3189787
Made the while DebugContext mutable, not just created_* hashes
...
Disabled create_arg
2013-06-17 08:41:23 -07:00
Vadim Chugunov
868f9a88d6
Use DIBuilder in debuginfo
2013-06-17 08:41:23 -07:00
Niko Matsakis
eb48c29681
Add copies to type params with Copy bound
2013-06-16 12:47:36 -04:00
James Miller
f2a7fc69da
Fix Merge Fallout
2013-06-16 09:20:40 +12:00