about summary refs log tree commit diff
path: root/src/test/debuginfo/destructured-for-loop-variable.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-243/+0
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-2/+1
2021-04-03Remove redundant `ignore-tidy-linelength` annotationsSimon Jakobi-2/+0
This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
2020-06-09Implement new gdb/lldb pretty-printersortem-4/+4
Replace old GDB and LLDB pretty-printers with new ones which were originally written for IntelliJ Rust. New LLDB pretty-printers support synthetic children. New GDB/LLDB pretty-printers support all Rust types supported by old pretty-printers, and also support: Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-30Update enum debuginfo testsTom Tromey-0/+4
Bug #52452 notes some debuginfo test regressions when moving to gdb 8.1. This series will also cause versions of gdb before 8.2 to fail when a recent LLVM is used -- DW_TAG_variant_part support was not added until 8.2. This patch updates one of the builders to a later version of Ubuntu, which comes with gdb 8.2. It updates the relevant tests to require both a new-enough LLVM and a new-enough gdb; the subsequent patch arranges to continue testing the fallback mode. The "gdbg" results are removed from these tests because the tests now require a rust-enabled gdb. If you read closely, you'll see that some of the lldb results in this patch still look a bit strange. This will be addressed in a subsequent patch; I believe the fix is to disable the Python pretty-printers when lldb is rust-enabled.
2018-10-08Run debuginfo tests against rust-enabled lldb, when possibleTom Tromey-24/+50
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.
2016-10-31adapt debuginfo tests for gdb with native rust supportTim Neumann-2/+4
2015-09-19Feature-gate `#[no_debug]` and `#[omit_gdb_pretty_printer_section]`Andrew Paseltiner-0/+1
Closes #28091.
2015-04-12Add a name for tuple fields in debuginfo so that they can be accessed in ↵Michael Woerister-1/+1
debuggers.
2015-02-17Auto merge of #21774 - ejjeong:enable-test-for-android, r=alexcrichtonbors-1/+0
- Now "make check-stage2-T-aarch64-linux-android-H-x86_64-unknown-linux-gnu" works (#21773) - Fix & enable debuginfo tests for android (#10381) - Fix & enable more tests for android (both for arm/aarch64) - Enable many already-pass tests on android (both for arm/aarch64)
2015-02-11opt into box_patterns in debuginfo tests.Felix S. Klock II-0/+1
2015-02-10Enable test/debuginfo on androidEunji Jeong-1/+0
2015-02-02`for x in xs.into_iter()` -> `for x in xs`Jorge Aparicio-1/+1
Also `for x in option.into_iter()` -> `if let Some(x) = option`
2015-02-02`for x in xs.iter()` -> `for x in &xs`Jorge Aparicio-2/+2
2015-01-30Remove all `i` suffixesTobias Bucher-1/+1
2015-01-29`for x in range(a, b)` -> `for x in a..b`Jorge Aparicio-1/+1
sed -i 's/in range(\([^,]*\), *\([^()]*\))/in \1\.\.\2/g' **/*.rs
2015-01-07Test fixes and rebase conflictsAlex Crichton-0/+1
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-0/+3
printers enabled.
2014-12-23debuginfo: Add test case for destructured for-loop variable.Michael Woerister-0/+219
2014-12-22Revert "debuginfo: Add test case for destructured for-loop variable."Alex Crichton-178/+0
This reverts commit 87c5927b79b8eec8763659da8a3cf4561a4ceabd.
2014-12-19debuginfo: Add test case for destructured for-loop variable.Michael Woerister-0/+178