about summary refs log tree commit diff
path: root/src/test/debuginfo/recursive-struct.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-215/+0
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-29/+29
2020-04-14Update the minimum external LLVM to 8Josh Stone-2/+1
LLVM 8 was released on March 20, 2019, over a year ago.
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-1/+0
2019-03-22Correct minimum system LLVM version in testsSamuel Holland-1/+1
Since commit 9452a8dfa3ba, the new debug info format is only generated for LLVM 8 and newer versions. However, the tests still assume that LLVM 7 will use the new debug info format. Fix the tests (and a comment in the code) to match the actual version check.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-30Update enum debuginfo testsTom Tromey-15/+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.
2017-02-04ignore more gdb versions with buggy rust supportTim Neumann-1/+1
2017-01-13debuginfo: Ignore optimized enum tests for GDB versions that can't handle them.Michael Woerister-0/+1
2016-10-31adapt debuginfo tests for gdb with native rust supportTim Neumann-14/+29
2015-09-19Feature-gate `#[no_debug]` and `#[omit_gdb_pretty_printer_section]`Andrew Paseltiner-0/+1
Closes #28091.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-1/+1
Now that support has been removed, all lingering use cases are renamed.
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-1/+0
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-2/+2
2015-02-10Enable test/debuginfo on androidEunji Jeong-1/+0
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/+1
printers enabled.
2014-12-20Allow use of `[_ ; n]` syntax for fixed length and repeating arrays.Nick Cameron-1/+1
This does NOT break any existing programs because the `[_, ..n]` syntax is also supported.
2014-11-20removed struct_variant feature from testsSimon Wollwage-1/+0
2014-11-17Switch to purely namespaced enumsSteven Fackler-0/+2
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-10-31debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.Michael Woerister-5/+1
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
2014-10-28Update code with new lint namesAaron Turon-1/+1
2014-10-02Test fixes from the rollupAlex Crichton-16/+16
2014-10-02tests: remove uses of Gc.Eduard Burtescu-98/+0
2014-07-26Remove managed_box gate from testsBrian Anderson-1/+0
No longer does anything.
2014-07-16debuginfo: Add LLDB autotests to debuginfo test suite.Michael Woerister-0/+1
This commit adds LLDB autotests to the test suite but does not activate them by default yet.
2014-06-14rustc: Obsolete the `@` syntax entirelyAlex Crichton-8/+9
This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change]
2014-05-29debuginfo: Make DWARF representation of enums uniform.Michael Woerister-11/+12
So far the DWARF information for enums was different for regular enums, univariant enums, Option-like enums, etc. Regular enums were encoded as unions of structs, while the other variants were encoded as bare structs. With the changes in this PR all enums are encoded as unions so that debuggers can reconstruct if something originally was a struct, a univariant enum, or an Option-like enum. For the latter case, information about the Null variant is encoded into the union field name. This information can then be used by the debugger to print a None value actually as None instead of Some(0x0).
2014-05-18Update debuginfo tests.Luqman Aden-12/+12
2014-05-07debuginfo: Split debuginfo autotests into debuginfo-gdb and debuginfo-lldbMichael Woerister-0/+320