Michael Woerister
1dec27bed5
debuginfo: Fixed option-like-enum test case so it does not rely on undefined behavior.
2013-08-16 22:27:38 +02:00
Michael Woerister
983cc777c5
debuginfo: Add some tests for visibiliy scopes within closures.
2013-08-13 11:13:49 +02:00
Michael Woerister
9c7d9eb6fd
debuginfo: Add support for argument shadowing.
2013-08-13 11:13:49 +02:00
Michael Woerister
33e7d95e9c
debuginfo: Implemented proper handling of lexical scopes and variable shadowing.
2013-08-13 11:13:49 +02:00
Brian Anderson
ad8010fdf2
xfail debug-info/option-like-enum
...
Don't understand why this broke.
2013-08-07 15:40:27 -07:00
Michael Woerister
d54615528c
debuginfo: Fixed a few things for PR.
2013-07-25 23:05:56 +02:00
Michael Woerister
02a0f2822e
debuginfo: Support for destructured function arguments.
2013-07-25 19:47:03 +02:00
Michael Woerister
c9e51cef12
debuginfo: Support for function arguments. (WIP)
2013-07-25 19:47:03 +02:00
Michael Woerister
203f96f71d
debuginfo: Implemented support for destructured locals.
...
Conflicts:
src/librustc/middle/trans/debuginfo.rs
src/test/debug-info/destructured-local.rs
2013-07-25 19:47:03 +02:00
Michael Woerister
a1303cc815
debuginfo: Removed some test relying on data structure sizes hard to predict for all possible platforms and configurations.
2013-07-20 10:47:24 +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
70e5c08e39
debuginfo: Extended test suite with various tests for enums.
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
99ebb816cf
debuginfo: Added test cases for packed structs (/w drop)
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
7a31a3e071
debuginfo: Removed some misleading comments from test cases.
2013-07-19 07:53:57 +02:00
Michael Woerister
1b20831c1e
debuginfo: Renamed *reference-to-* test cases to *borrowed-*
2013-07-19 07:53:57 +02:00
Michael Woerister
976d7a53cb
debuginfo: Began refactoring of composite type handling.
2013-07-19 07:53:57 +02:00
Michael Woerister
2f5e33d02f
debuginfo: Some corrections after review.
2013-06-27 19:28:37 +02:00
Michael Woerister
42dbae7f2a
debuginfo: Formatting cleanup.
2013-06-27 19:28:37 +02:00
Michael Woerister
4fb471ab78
debuginfo: Added test case for function arguments.
2013-06-27 19:28:37 +02:00
Michael Woerister
074e0fa2a9
debuginfo: Added test case for local variables declared with destructuring.
2013-06-27 19:28:37 +02:00
Michael Woerister
9102ad035c
debuginfo: Added more tests for region pointers (tuples, structs).
2013-06-27 19:28:37 +02:00
Michael Woerister
6a3094159f
debuginfo: Fixed some instances of gdb wrongly printing u8/i8 values as chars.
2013-06-27 19:28:37 +02:00
Michael Woerister
fb3e17b93a
debuginfo: Added test cases for region pointers into heap boxes for basic types.
2013-06-27 19:28:37 +02:00
Michael Woerister
751f0fba6f
debuginfo: Added test case for region pointers pointing to stack values with basic type.
2013-06-27 19:28:37 +02:00
Michael Woerister
168eba9201
debuginfo: Added test case for structs with destructor.
2013-06-27 19:28:17 +02:00
Michael Woerister
0b5fef3b26
debuginfo: Added test case for local variable scopes.
2013-06-27 19:28:17 +02:00
Michael Woerister
1dc8e76d3a
debuginfo: Made test cases use correct naming convention for variables.
2013-06-27 19:28:17 +02:00
Michael Woerister
5f97a6e951
debuginfo: Added test cases for tuples contained in structs.
2013-06-27 19:28:17 +02:00
Michael Woerister
36aa04b9ab
debuginfo: Added test cases for tuples.
2013-06-27 19:28:17 +02:00
Michael Woerister
fda193de24
Extended test cases for struct debug information.
...
Added test cases for different kinds of padding (simple-struct.rs)
Added test cases for nested structs (struct-in-struct.rs)
2013-06-27 19:28:17 +02:00
James Miller
6759ce4fd2
_Actually_ xfail debuginfo tests
2013-06-21 00:23:42 +12:00
James Miller
f5036c24df
xfail box-related debug-info tests r=snapshot
2013-06-20 22:03:05 +12: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
bors
7d250d3181
auto merge of #5824 : bleibig/rust/debuginfo, r=brson
...
This adds debugging symbol generation for boxes, bare functions, vectors, and strings, along with a tests for boxes and vectors.
Note that gdb will see them as their actual compiled representation with the refcount, tydesc, etc. fields, so if `b` refers to box, `b->boxed` will refer to its value. Also, since you seem to use the [C struct hack](http://c-faq.com/struct/structhack.html ) for dynamic vectors, you won't be able to print out the whole vector at once, only one element at a time by indexing specific elements.
2013-04-19 12:03:49 -07:00
Brian Leibig
d2718e6324
xfail box and vec debug info tests
2013-04-18 18:05:33 -04:00
Brian Anderson
5b457c1469
xail all debuginfo tests
...
The broke with the LLVM upgrade
2013-04-11 00:16:09 -07:00
Brian Leibig
a34921ae89
Add debug info test for vectors
2013-04-10 12:45:54 -04:00
Brian Leibig
3e5b98fc74
Add debug info test for boxes
2013-04-10 12:45:54 -04:00
Brian Leibig
f1928d8e2c
Re-enable struct value printing in debug info tests with gdb pretty printing off
2013-03-11 14:09:06 -07:00