rust/src/test/debuginfo
Ulrich Weigand 19b84088d7 Add s390x support
This adds support for building the Rust compiler and standard
library for s390x-linux, allowing a full cross-bootstrap sequence
to complete.  This includes:

- Makefile/configure changes to allow native s390x builds
- Full Rust compiler support for the s390x C ABI
  (only the non-vector ABI is supported at this point)
- Port of the standard library to s390x
- Update the liblibc submodule to a version including s390x support
- Testsuite fixes to allow clean "make check" on s390x

Caveats:

- Resets base cpu to "z10" to bring support in sync with the default
  behaviour of other compilers on the platforms.  (Usually, upstream
  supports all older processors; a distribution build may then chose
  to require a more recent base version.)  (Also, using zEC12 causes
  failures in the valgrind tests since valgrind doesn't fully support
  this CPU yet.)

- z13 vector ABI is not yet supported.  To ensure compatible code
  generation, the -vector feature is passed to LLVM.  Note that this
  means that even when compiling for z13, no vector instructions
  will be used.  In the future, support for the vector ABI should be
  added (this will require common code support for different ABIs
  that need different data_layout strings on the same platform).

- Two test cases are (temporarily) ignored on s390x to allow passing
  the test suite.  The underlying issues still need to be fixed:
  * debuginfo/simd.rs fails because of incorrect debug information.
    This seems to be a LLVM bug (also seen with C code).
  * run-pass/union/union-basic.rs simply seems to be incorrect for
    all big-endian platforms.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2016-09-09 22:28:19 +01:00
..
auxiliary Fix debug line info for macro expansions. 2016-08-25 00:40:42 -07:00
associated-types.rs mir: place match pattern bindings in their respective arms. 2016-04-16 21:51:30 +03:00
basic-types-globals-metadata.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
basic-types-globals.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
basic-types-metadata.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
basic-types-mut-globals.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
basic-types.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
borrowed-basic.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
borrowed-c-style-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
borrowed-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
borrowed-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
borrowed-tuple.rs Remove the deprecated box(PLACE) syntax. 2015-09-24 18:00:08 +03:00
borrowed-unique-basic.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
box.rs Remove the deprecated box(PLACE) syntax. 2015-09-24 18:00:08 +03:00
boxed-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
by-value-non-immediate-argument.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
by-value-self-argument-in-trait-impl.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
c-style-enum-in-composite.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
c-style-enum.rs tests: update for MIR debuginfo. 2016-04-11 20:51:45 +03:00
closure-in-generic-function.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
constant-debug-locs.rs std: Clean out deprecated APIs 2016-07-12 12:51:13 -07:00
constant-in-match-pattern.rs fallout in existing tests 2016-03-25 06:45:42 -04:00
cross-crate-spans.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
cross-crate-type-uniquing.rs Enable test/debuginfo on android 2015-02-10 15:48:07 +09:00
destructured-fn-argument.rs Remove the deprecated box(PLACE) syntax. 2015-09-24 18:00:08 +03:00
destructured-for-loop-variable.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
destructured-local.rs Remove the deprecated box(PLACE) syntax. 2015-09-24 18:00:08 +03:00
evec-in-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
extern-c-fn.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
function-arg-initialization.rs [MIR] Add Storage{Live,Dead} statements to emit llvm.lifetime.{start,end}. 2016-08-14 06:34:14 +03:00
function-arguments.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
function-prologue-stepping-regular.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
gdb-pretty-struct-and-enums-pre-gdb-7-7.rs Rename sunos to solaris 2016-01-31 19:01:30 +03:00
generic-enum-with-different-disr-sizes.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-function.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-functions-nested.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-method-on-generic-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-static-method-on-struct-and-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-struct-style-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
generic-tuple-style-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
include_string.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
issue7712.rs rustc: Remove deprecated flags 2015-01-20 11:16:26 -08:00
issue12886.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
issue13213.rs Remove references to old_{path,io} 2015-04-21 08:16:03 -07:00
issue14411.rs Enable test/debuginfo on android 2015-02-10 15:48:07 +09:00
issue22656.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-for-loop.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-if.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-match.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-parameterless-closure.rs Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
lexical-scope-in-stack-closure.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-unconditional-loop.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-unique-closure.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-in-while.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
lexical-scope-with-macro.rs Fix debug line info for macro expansions. 2016-08-25 00:40:42 -07:00
lexical-scopes-in-block-expression.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
limited-debuginfo.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
macro-stepping.rs Fix debug line info for macro expansions. 2016-08-25 00:40:42 -07:00
method-on-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
method-on-generic-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
method-on-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
method-on-trait.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
method-on-tuple-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
multi-byte-chars.rs Enable test/debuginfo on android 2015-02-10 15:48:07 +09:00
multiple-functions-equal-var-names.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
multiple-functions.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
name-shadowing-and-scope-nesting.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
nil-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
no-debug-attribute.rs test: don't depend on locals being in scope on the return path. 2016-04-16 14:08:32 +03:00
option-like-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
packed-struct-with-destructor.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
packed-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
pretty-huge-vec.rs Use lazy iterator in vec/slice gdb pretty printers 2016-07-04 20:22:10 +02:00
pretty-std.rs debuginfo: Create common debugger pretty printer module. 2015-05-30 20:06:08 +02:00
pretty-uninitialized-vec.rs Use lazy iterator in vec/slice gdb pretty printers 2016-07-04 20:22:10 +02:00
recursive-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
recursive-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
self-in-default-method.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
self-in-generic-default-method.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
shadowed-argument.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
shadowed-variable.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
simd.rs Add s390x support 2016-09-09 22:28:19 +01:00
simple-lexical-scope.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
simple-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
simple-tuple.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
static-method-on-struct-and-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
struct-in-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
struct-in-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
struct-namespace.rs debuginfo: Fix regression in namespace handling for struct types. 2016-05-01 23:45:33 -04:00
struct-style-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
struct-with-destructor.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
text-to-include-1.txt Re-bork whitespace for text file (fixup #23385) 2015-03-17 16:00:39 +05:30
text-to-include-2.txt Re-bork whitespace for text file (fixup #23385) 2015-03-17 16:00:39 +05:30
text-to-include-3.txt Re-bork whitespace for text file (fixup #23385) 2015-03-17 16:00:39 +05:30
trait-pointers.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
tuple-in-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
tuple-in-tuple.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
tuple-struct.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
tuple-style-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
type-names.rs test: disable more stdcall tests for ARM arches. temp workaround for #24958 2016-07-17 20:57:54 +02:00
union-smoke.rs Fix type encoding/decoding for unions 2016-09-03 13:39:35 +03:00
unique-enum.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
unreachable-locals.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00
var-captured-in-nested-closure.rs debuginfo: argument and upvar names for MIR. 2016-04-16 21:51:26 +03:00
var-captured-in-sendable-closure.rs Don't gate methods Fn(Mut,Once)::call(mut,once) with feature unboxed_closures 2016-07-31 17:48:20 +03:00
var-captured-in-stack-closure.rs Don't gate methods Fn(Mut,Once)::call(mut,once) with feature unboxed_closures 2016-07-31 17:48:20 +03:00
vec-slices.rs Added a pretty printer for &mut slices 2016-07-04 00:04:19 +05:30
vec.rs Feature-gate #[no_debug] and #[omit_gdb_pretty_printer_section] 2015-09-19 19:39:25 -04:00