rust/src/test/debuginfo
Tom Tromey 789eb08147 Fix debuginfo tests with GDB 11.2
GDB 11.2 added support for DW_ATE_UTF, which caused some test
failures.  This fixes these tests by changing the format that is used,
and adds a new test to verify that characters are emitted as something
that GDB can print in a char-like way.

Fixes #94458
2022-03-17 20:19:10 -06:00
..
auxiliary
associated-types.rs
basic-types-globals-metadata.rs
basic-types-globals.rs
basic-types-metadata.rs
basic-types-mut-globals.rs
basic-types.rs Change char type in debuginfo to DW_ATE_UTF 2022-02-23 08:31:10 -08:00
borrowed-basic.rs Fix debuginfo tests with GDB 11.2 2022-03-17 20:19:10 -06:00
borrowed-c-style-enum.rs
borrowed-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
borrowed-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowed-tuple.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
borrowed-unique-basic.rs Fix debuginfo tests with GDB 11.2 2022-03-17 20:19:10 -06:00
box.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
boxed-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
by-value-non-immediate-argument.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
by-value-self-argument-in-trait-impl.rs
c-style-enum-in-composite.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
c-style-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
captured-fields-1.rs debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo. 2022-02-01 10:39:40 +01:00
captured-fields-2.rs Store names of captured variables in optimized_mir 2021-07-09 23:09:48 +08:00
closure-in-generic-function.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
constant-debug-locs.rs
constant-in-match-pattern.rs
cross-crate-spans.rs
cross-crate-type-uniquing.rs
destructured-fn-argument.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
destructured-for-loop-variable.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
destructured-local.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
drop-locations.rs
duration-type.rs Respond to review feedback 2021-07-09 18:29:08 -04:00
empty-string.rs
enum-thinlto.rs
evec-in-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
extern-c-fn.rs Fix failed tests related to pointer printing when using GDB 10 2021-04-27 23:07:36 +08:00
fixed-sized-array.rs Add debug info tests for range, fix-sized array, and cell types. 2021-06-25 14:07:06 -07:00
function-arg-initialization.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
function-arguments.rs
function-call.rs tests: support -Zsymbol-mangling-version=v0 being the default. 2021-08-24 19:07:50 +03:00
function-names.rs Auto merge of #93432 - Kobzol:stable-hash-isize-hash-compression, r=the8472 2022-02-03 01:08:45 +00:00
function-prologue-stepping-regular.rs
gdb-char.rs Fix debuginfo tests with GDB 11.2 2022-03-17 20:19:10 -06:00
gdb-pretty-struct-and-enums.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
generator-locals.rs
generator-objects.rs debuginfo: Refactor debuginfo generation for types -- Make generator-objects test case architecture independent. 2022-03-15 11:45:51 +01:00
generic-enum-with-different-disr-sizes.rs
generic-function.rs
generic-functions-nested.rs
generic-method-on-generic-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
generic-static-method-on-struct-and-enum.rs
generic-struct-style-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
generic-struct.rs [debuginfo] Adapt CDB tests after changes to whitespace usage in debuginfo type names. 2021-07-19 16:00:04 +02:00
generic-tuple-style-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
include_string.rs
issue-7712.rs
issue-12886.rs
issue-13213.rs
issue-14411.rs
issue-22656.rs
issue-57822.rs debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo. 2022-02-01 10:39:40 +01:00
lexical-scope-in-for-loop.rs
lexical-scope-in-if.rs
lexical-scope-in-match.rs
lexical-scope-in-parameterless-closure.rs
lexical-scope-in-stack-closure.rs
lexical-scope-in-unconditional-loop.rs
lexical-scope-in-unique-closure.rs
lexical-scope-in-while.rs
lexical-scope-with-macro.rs
lexical-scopes-in-block-expression.rs
limited-debuginfo.rs
macro-stepping.inc
macro-stepping.rs
marker-types.rs Fix tests for i686 2021-07-14 16:50:11 -04:00
method-on-enum.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
method-on-generic-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
method-on-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
method-on-trait.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
method-on-tuple-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
msvc-pretty-enums.rs debuginfo: Refactor debuginfo generation for types 2022-03-14 16:49:06 +01:00
msvc-scalarpair-params.rs Fix debuginfo for ScalarPair abi parameters 2021-09-13 10:51:47 -04:00
multi-byte-chars.rs Stablize non_ascii_idents feature. 2021-04-08 02:52:00 +08:00
multi-cgu.rs
multiple-functions-equal-var-names.rs
multiple-functions.rs
mutable-locs.rs Add natvis for cell types 2021-07-08 12:55:49 -04:00
mutex.rs Re-enable the src/test/debuginfo/mutex.rs test on Windows 2021-09-20 15:26:56 -04:00
name-shadowing-and-scope-nesting.rs
numeric-types.rs Add natvis for Atomic types 2021-07-08 12:55:49 -04:00
option-like-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
packed-struct-with-destructor.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
packed-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
pretty-huge-vec.rs Support pretty printing slices using GDB 2021-07-03 23:42:07 +08:00
pretty-slices.rs Ignore Windows debugger pretty-printing tests 2021-07-08 01:04:59 +08:00
pretty-std-collections-hash.rs [debuginfo] Adapt CDB tests after changes to whitespace usage in debuginfo type names. 2021-07-19 16:00:04 +02:00
pretty-std-collections.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
pretty-std.rs Fix debuginfo tests for the latest version of the Windows SDK. 2021-09-10 21:46:40 -04:00
pretty-uninitialized-vec.rs
range-types.rs Add natvis for Range types 2021-07-08 12:55:49 -04:00
rc_arc.rs tests: Ignore test/debuginfo/rc_arc.rs on windows-gnu 2021-11-28 23:09:33 +08:00
recursive-enum.rs
recursive-struct.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
result-types.rs [debuginfo] Adapt CDB tests after changes to whitespace usage in debuginfo type names. 2021-07-19 16:00:04 +02:00
rwlock-read.rs Add natvis for cell types 2021-07-08 12:55:49 -04:00
rwlock-write.rs Add debug info tests for range, fix-sized array, and cell types. 2021-06-25 14:07:06 -07:00
self-in-default-method.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
self-in-generic-default-method.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
shadowed-argument.rs
shadowed-variable.rs
should-fail.rs Add needs-run-enabled directive for should-fail tests 2021-04-30 04:12:37 +00:00
simd.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
simple-lexical-scope.rs
simple-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
simple-tuple.rs Update cdb tests for expected output 2021-07-01 14:26:20 -04:00
static-method-on-struct-and-enum.rs
step-into-match.rs Add test for stepping though match expressions 2021-08-26 09:34:31 -04:00
struct-in-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
struct-in-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
struct-namespace.rs
struct-style-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
struct-with-destructor.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
text-to-include-1.txt
text-to-include-2.txt
text-to-include-3.txt
thread.rs Improve debug symbol names to avoid ambiguity and work better with MSVC's debugger 2021-06-30 11:10:29 -07:00
trait-pointers.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
tuple-in-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
tuple-in-tuple.rs Update cdb tests for expected output 2021-07-01 14:26:20 -04:00
tuple-struct.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
tuple-style-enum.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
type-names.cdb.js Improve debug symbol names to avoid ambiguity and work better with MSVC's debugger 2021-06-30 11:10:29 -07:00
type-names.rs Rollup merge of #94810 - michaelwoerister:fix-trait-pointer-debuginfo-names, r=wesleywiser 2022-03-15 17:15:52 +01:00
union-smoke.rs
unique-enum.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
unreachable-locals.rs
unsized.rs debuginfo: Support fat pointers to unsized tuples. 2022-02-16 13:29:00 +01:00
var-captured-in-nested-closure.rs debuginfo: Make sure that type names for closure and generator environments are unique in debuginfo. 2022-02-01 10:39:40 +01:00
var-captured-in-sendable-closure.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
var-captured-in-stack-closure.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
vec-slices.rs [debuginfo] Fix and unify handling of fat pointers in debuginfo: Fix some debuginfo tests for old GDB versions and 32-bit targets. 2022-01-27 11:45:45 +01:00
vec.rs