Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Tom Tromey
fb204cb92f
Add template parameter debuginfo to generic types
...
This changes debuginfo generation to add template parameters to
generic types. With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:
<2><40d>: Abbrev Number: 6 (DW_TAG_structure_type)
<40e> DW_AT_name : (indirect string, offset: 0x375): Generic<i32>
<412> DW_AT_byte_size : 4
<413> DW_AT_alignment : 4
...
<3><41f>: Abbrev Number: 8 (DW_TAG_template_type_param)
<420> DW_AT_type : <0x42a>
<424> DW_AT_name : (indirect string, offset: 0xa65e): T
Closes #9224
2018-11-29 13:04:09 -07:00
Tom Tromey
ac33b2e578
Run debuginfo tests against rust-enabled lldb, when possible
...
If the rust-enabled lldb was built, then use it when running the
debuginfo tests. Updating the lldb submodule was necessary as this
needed a way to differentiate the rust-enabled lldb, so I added a line
to the --version output.
This adds compiletest commands to differentiate between the
rust-enabled and non-rust-enabled lldb, as is already done for gdb. A
new "rust-lldb" header directive is also added, but not used in this
patch; I plan to use it in #54004 .
This updates all the tests.
2018-10-08 11:04:24 -06:00
Tim Neumann
9253e1206e
adapt debuginfo tests for gdb with native rust support
2016-10-31 21:12:59 +01:00
Andrew Paseltiner
6fa0ff25bd
Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section]
...
Closes #28091 .
2015-09-19 19:39:25 -04:00
Alex Crichton
e77db16afb
Fix fallout of removing quotes in crate names
2015-03-27 11:43:40 -07:00
Eunji Jeong
b1af8648a7
Enable test/debuginfo on android
2015-02-10 15:48:07 +09:00
Alex Crichton
e8fd9d3d0b
Merge remote-tracking branch 'origin/master' into rollup
2015-01-30 19:55:37 -08:00
Tobias Bucher
7f64fe4e27
Remove all i suffixes
2015-01-30 04:38:54 +01:00
Alex Crichton
a64000820f
More test fixes
2015-01-06 21:26:48 -08:00
Michael Woerister
91a0e18866
debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty printers enabled.
2014-12-30 17:26:13 +01:00
Michael Woerister
54a5a2b365
debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.
...
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
2014-10-31 18:49:59 +01:00
Michael Woerister
47e8cf7697
debuginfo: Gate all LLDB debuginfo tests on a minimum LLDB version being available
2014-10-22 10:47:45 +02:00
Michael Woerister
c7f45a9458
debuginfo: Add LLDB autotests to debuginfo test suite.
...
This commit adds LLDB autotests to the test suite but does not activate them by default yet.
2014-07-16 09:46:31 +02:00
Patrick Walton
a5bb0a3a45
librustc: Remove the fallback to int for integers and f64 for
...
floating point numbers for real.
This will break code that looks like:
let mut x = 0;
while ... {
x += 1;
}
println!("{}", x);
Change that code to:
let mut x = 0i;
while ... {
x += 1;
}
println!("{}", x);
Closes #15201 .
[breaking-change]
2014-06-29 11:47:58 -07:00
Michael Woerister
55a8bd56e5
debuginfo: Split debuginfo autotests into debuginfo-gdb and debuginfo-lldb
2014-05-07 19:58:07 +02:00