rust/src/test/debuginfo
Corey Richardson 6e8ff99958 librustc: handle repr on structs, require it for ffi, unify with packed
As of RFC 18, struct layout is undefined. Opting into a C-compatible struct
layout is now down with #[repr(C)]. For consistency, specifying a packed
layout is now also down with #[repr(packed)]. Both can be specified.

To fix errors caused by this, just add #[repr(C)] to the structs, and change
 #[packed] to #[repr(packed)]

Closes #14309

[breaking-change]
2014-08-20 21:02:23 -04:00
..
basic-types-globals-metadata.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
basic-types-globals.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
basic-types-metadata.rs librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
basic-types-mut-globals.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
basic-types.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
borrowed-basic.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
borrowed-c-style-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
borrowed-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
borrowed-managed-basic.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
borrowed-struct.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
borrowed-tuple.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
borrowed-unique-basic.rs librustc: Remove cross-borrowing of Box<T> to &T from the language, 2014-07-17 14:05:36 -07:00
box.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
boxed-struct.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
by-value-non-immediate-argument.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
by-value-self-argument-in-trait-impl.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
c-style-enum-in-composite.rs librustc: handle repr on structs, require it for ffi, unify with packed 2014-08-20 21:02:23 -04:00
c-style-enum.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
closure-in-generic-function.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
cross-crate-type-uniquing.rs std: Rename the ToStr trait to ToString, and to_str to to_string. 2014-07-08 13:01:43 -07:00
destructured-fn-argument.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
destructured-local.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
evec-in-struct.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
function-arg-initialization.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
function-arguments.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
function-prologue-stepping-no-split-stack.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
function-prologue-stepping-regular.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
generic-function.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
generic-functions-nested.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
generic-method-on-generic-struct.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
generic-static-method-on-struct-and-enum.rs librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
generic-struct-style-enum.rs librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
generic-struct.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
generic-trait-generic-static-default-method.rs
generic-tuple-style-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
include_string.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
issue7712.rs
issue11600.rs core: rename strbuf::StrBuf to string::String 2014-05-24 21:48:10 -07:00
issue12886.rs
issue13213.rs
issue14411.rs debuginfo: Add test case for issue 14411. 2014-06-18 17:02:02 -07:00
lexical-scope-in-for-loop.rs librustc: Stop desugaring for expressions and translate them directly. 2014-07-24 18:58:12 -07:00
lexical-scope-in-if.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-in-match.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-in-parameterless-closure.rs librustc: Remove the fallback to int for integers and f64 for 2014-06-29 11:47:58 -07:00
lexical-scope-in-stack-closure.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-in-unconditional-loop.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-in-unique-closure.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-in-while.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scope-with-macro.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
lexical-scopes-in-block-expression.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
limited-debuginfo.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
managed-enum.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
managed-pointer-within-unique-vec.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
managed-pointer-within-unique.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
method-on-enum.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
method-on-generic-struct.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
method-on-struct.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
method-on-trait.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
method-on-tuple-struct.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
multiple-functions-equal-var-names.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
multiple-functions.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
name-shadowing-and-scope-nesting.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
nil-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
no-debug-attribute.rs debuginfo: Add a "no_debug" attribute that allows to exclude functions from debuginfo generation. 2014-08-15 15:35:43 +02:00
option-like-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
packed-struct-with-destructor.rs librustc: handle repr on structs, require it for ffi, unify with packed 2014-08-20 21:02:23 -04:00
packed-struct.rs librustc: handle repr on structs, require it for ffi, unify with packed 2014-08-20 21:02:23 -04:00
recursive-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
recursive-struct.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
self-in-default-method.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
self-in-generic-default-method.rs librustc: Allow the new UFCS explicit self in trait definitions, and 2014-07-16 23:16:12 -07:00
shadowed-argument.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
shadowed-variable.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
simd.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
simple-lexical-scope.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
simple-struct.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
simple-tuple.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
static-method-on-struct-and-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
struct-in-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
struct-in-struct.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
struct-style-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
struct-with-destructor.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
text-to-include-1.txt debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
text-to-include-2.txt debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
text-to-include-3.txt debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
trait-generic-static-default-method.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
trait-pointers.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
tuple-in-struct.rs
tuple-in-tuple.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
tuple-struct.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
tuple-style-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
type-names.rs debuginfo: Make names of types in debuginfo reliable and omit source locations from debug info type descriptions. 2014-07-02 13:32:57 +02:00
unique-enum.rs debuginfo: Add LLDB autotests to debuginfo test suite. 2014-07-16 09:46:31 +02:00
var-captured-in-nested-closure.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
var-captured-in-sendable-closure.rs librustc: Remove cross-borrowing of Box<T> to &T from the language, 2014-07-17 14:05:36 -07:00
var-captured-in-stack-closure.rs Remove managed_box gate from tests 2014-07-26 21:05:29 -07:00
vec-slices.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00
vec.rs Replace "ignore-win32" in tests with "ignore-windows" 2014-08-12 00:14:00 -07:00