about summary refs log tree commit diff
path: root/src/test/debuginfo
AgeCommit message (Collapse)AuthorLines
2016-03-25fallout in existing testsNiko Matsakis-0/+3
2016-01-31Rename sunos to solarisNikita Baksalyar-1/+1
2016-01-31Add Illumos supportNikita Baksalyar-0/+1
2015-12-18Fix the falloutVadim Petrochenkov-1/+1
2015-12-10std: Remove deprecated functionality from 1.5Alex Crichton-2/+21
This is a standard "clean out libstd" commit which removes all 1.5-and-before deprecated functionality as it's now all been deprecated for at least one entire cycle.
2015-09-24Remove the deprecated box(PLACE) syntax.Eduard Burtescu-4/+4
2015-09-19Feature-gate `#[no_debug]` and `#[omit_gdb_pretty_printer_section]`Andrew Paseltiner-3/+97
Closes #28091.
2015-08-05Revert "debuginfo: Bring back some GDB pretty printing autotests that are ↵Alex Crichton-188/+0
not actually broken." This reverts commit 354cf4b56b8e2af67cc68965eb816deec0e79e4b.
2015-08-03debuginfo: Bring back some GDB pretty printing autotests that are not ↵Michael Woerister-0/+188
actually broken.
2015-07-28Fix de-deduplication for closure debuginfoBjörn Steinbrink-0/+18
Closure variables represent the closure environment, not the closure function, so the identifier used to ensure that the debuginfo is unique for each kind of closure needs to be based on the closure upvars and not the function signature.
2015-07-20Create proper debuginfo for closure variablesBjörn Steinbrink-1/+1
Variables for closures hold a tuple of captured variables, and not the function itself. Fixes #26484
2015-07-18Generate proper debug info for function pointersBjörn Steinbrink-0/+3
Instead of generating pointer debug info, we're currently generating subroutine debug info.
2015-07-18Properly create debug info for functionsBjörn Steinbrink-1/+1
We're currently using the actual function type as the return type when creating the debug info for a function, so we're actually creating debug info for a function that takes the same parameters, and returns the actual function type, which is completely wrong.
2015-07-17Auto merge of #27076 - alexcrichton:update-llvm, r=brsonbors-0/+92
LLVM has recently created their 3.7 release branch, and this PR updates us to that point. This should hopefully mean that we're basically compatible with the upcoming 3.7 release. Additionally, there are a number of goodies on this branch. * This contains a fix for https://llvm.org/bugs/show_bug.cgi?id=23957 which should help us bootstrap farther on 32-bit MSVC targets. * There is better support for writing multiple flavors of archives, allowing us to use the built-in LLVM support instead of the system `ar` on all current platforms of the compiler. * This LLVM has SafeStack support * An [optimization patch](https://github.com/rust-lang/llvm/commit/7cf5e26e18f7d2d8db09c83c76dd727535f281ab) by @pcwalton is included. * A number of other minor test fixes here and there. Due to problems dealing with the data layout we pass to LLVM, this PR also takes the time to clean up how we specific this. We no longer specify a data layout to LLVM by default and instead take the default for the target from LLVM to pass to the module that we're building. This should be more robust going into the future, and I'm also not sure we know what any of these arcane strings are any more...
2015-07-17test: Ignore a failing test on LLDBAlex Crichton-0/+1
Re-enabling it is tracked in #27089
2015-07-16debuginfo: Fix type description generic enum discriminants.Michael Woerister-0/+91
2015-07-15Remove reference to gdb-pretty-struct-and-enums.rsTamir Duberstein-4/+0
It was removed in bba934f19ab26d5afc4f0be923ea699010883906. Fixes #27059.
2015-06-17Fallout in tests and docs from feature renamingsAlex Crichton-2/+2
2015-06-12ignore-test cleanupSteve Klabnik-342/+0
Most of these are old, but some specific messages for specific tests: * trait-contravariant-self.rs: failed due to a soundess hole: https://github.com/rust-lang/rust/commit/05e3248a7974f55b64f75a2483b37ff8c001a4ff * process-detatch: https://github.com/rust-lang/rust/commit/15966c3c1f99810ac81053769651776a67181dae says "this test is being ignored until signals are implemented" That's not happening for a long time, and when it is, we'll write tests for it. * deep-vector{,2}.rs: "too big for our poor macro infrastructure", and has been ignored over a year. * borrowck-nested-calls.rs's FIXME #6268 was closed in favor of rust-lang/rfcs#811 * issue-15167.rs works properly now * issue-9737.rs works properly now * match-var-hygiene.rs works properly now Addresses a chunk of #3965
2015-06-07test: Ignore gdb-pretty-struct-and-enums.rsBrian Anderson-0/+1
Broken on nightly linux distcheck.
2015-05-30debuginfo: Create common debugger pretty printer module.Michael Woerister-2/+28
GDB and LLDB pretty printers have some common functionality and also access some common information, such as the layout of standard library types. So far, this information has been duplicated in the two pretty printing python modules. This commit introduces a common module used by both debuggers.
2015-05-29add const_fn featuresNiko Matsakis-0/+1
2015-05-27Use `const fn` to abstract away the contents of UnsafeCell & friends.Eduard Burtescu-3/+3
2015-05-03Update tests to not use old ~ syntaxCarol Nichols-1/+1
2015-05-03Update old uses of ~ in comments and debugging statementsCarol Nichols-1/+1
2015-04-29Re-enable tests on AndroidTamir Duberstein-4/+0
Addresses part of #10381.
2015-04-29Reference the correct issueTamir Duberstein-1/+1
The problem here is that this test doesn't even compile for Android. See #24958.
2015-04-28#10381: WarningsTamir Duberstein-52/+58
2015-04-21Remove references to `old_{path,io}`Tamir Duberstein-2/+0
2015-04-14Test fixes and rebase conflicts, round 2Alex Crichton-2/+1
2015-04-14bench: Fix fallout in benchmarksAlex Crichton-25/+25
2015-04-12Add a name for tuple fields in debuginfo so that they can be accessed in ↵Michael Woerister-121/+123
debuggers.
2015-04-09Remove `ignore-tidy-linelength` from tests that no longer need itLuke Gallagher-1/+0
2015-04-04fixing some tests and temporarily disabling others to get Bitrig build ↵Dave Huseby-0/+1
working 100%
2015-04-01rollup merge of #23860: nikomatsakis/copy-requires-cloneAlex Crichton-11/+11
Conflicts: src/test/compile-fail/coherence-impls-copy.rs
2015-04-02Rollup merge of #23066 - michaelwoerister:unreachable-if, r=pnkfelixManish Goregaokar-1/+84
This PR solves #21559 by making sure that unreachable if-expressions are not further translated. Could someone who knows their way around `trans` take a look at the changes in `controlflow.rs`? I'm not sure if any other code relies on any side-effects of translating unreachable things. cc @nikomatsakis @nrc @eddyb
2015-04-01Fallout in testsNiko Matsakis-11/+11
2015-03-28Fix some typosVadim Petrochenkov-6/+6
2015-03-27rollup merge of #23786: alexcrichton/less-quotesAlex Crichton-129/+129
Conflicts: src/test/auxiliary/static-function-pointer-aux.rs src/test/auxiliary/trait_default_method_xc_aux.rs src/test/run-pass/issue-4545.rs
2015-03-27Fix fallout of removing quotes in crate namesAlex Crichton-129/+129
2015-03-27rollup merge of #23741: alexcrichton/remove-int-uintAlex Crichton-127/+128
Conflicts: src/librustc/middle/ty.rs src/librustc_trans/trans/adt.rs src/librustc_typeck/check/mod.rs src/libserialize/json.rs src/test/run-pass/spawn-fn.rs
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-127/+128
Now that support has been removed, all lingering use cases are renamed.
2015-03-25Auto merge of #23695 - sae-bom:mac-android-debuginfo, r=alexcrichtonbors-1/+3
1. when mac-android cross compile and make-check , make it use gdb instead of lldb so as to it passes debuginfo tests. 2. ignore some tests on aarch64
2015-03-25Ignore some tests on aarch64Sae-bom Kim-1/+3
2015-03-25Add trivial cast lints.Nick Cameron-6/+6
This permits all coercions to be performed in casts, but adds lints to warn in those cases. Part of this patch moves cast checking to a later stage of type checking. We acquire obligations to check casts as part of type checking where we previously checked them. Once we have type checked a function or module, then we check any cast obligations which have been acquired. That means we have more type information available to check casts (this was crucial to making coercions work properly in place of some casts), but it means that casts cannot feed input into type inference. [breaking change] * Adds two new lints for trivial casts and trivial numeric casts, these are warn by default, but can cause errors if you build with warnings as errors. Previously, trivial numeric casts and casts to trait objects were allowed. * The unused casts lint has gone. * Interactions between casting and type inference have changed in subtle ways. Two ways this might manifest are: - You may need to 'direct' casts more with extra type information, for example, in some cases where `foo as _ as T` succeeded, you may now need to specify the type for `_` - Casts do not influence inference of integer types. E.g., the following used to type check: ``` let x = 42; let y = &x as *const u32; ``` Because the cast would inform inference that `x` must have type `u32`. This no longer applies and the compiler will fallback to `i32` for `x` and thus there will be a type error in the cast. The solution is to add more type information: ``` let x: u32 = 42; let y = &x as *const u32; ```
2015-03-23Test fixes and rebase conflicts, round 3Alex Crichton-0/+1
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-0/+9
2015-03-17Re-bork whitespace for text file (fixup #23385)Manish Goregaokar-3/+3
2015-03-15Strip all leading/trailing newlinesTamir Duberstein-18/+3
2015-03-13Rollup merge of #23310 - michaelwoerister:gdb-std-pp, r=alexcrichtonManish Goregaokar-0/+60
```rust Rust: let slice: &[i32] = &[0, 1, 2, 3]; GDB: $1 = &[i32](len: 4) = {0, 1, 2, 3} Rust: let vec = vec![4, 5, 6, 7]; GDB: $2 = Vec<u64>(len: 4, cap: 4) = {4, 5, 6, 7} Rust: let str_slice = \"IAMA string slice!\"; GDB: $3 = \"IAMA string slice!\" Rust: let string = \"IAMA string!\".to_string(); GDB: $4 = \"IAMA string!\" ``` Neat!