diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:03 +0000 |
commit | 64d98f8ee037282c35007b64c2649055c56af1db (patch) | |
tree | 5492bcf97fce41ee1c0b1cc2add283f3e66cdab0 /src/test/debuginfo/auxiliary | |
parent | Adding debian version 1.67.1+dfsg1-1. (diff) | |
download | rustc-64d98f8ee037282c35007b64c2649055c56af1db.tar.xz rustc-64d98f8ee037282c35007b64c2649055c56af1db.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/debuginfo/auxiliary')
7 files changed, 0 insertions, 116 deletions
diff --git a/src/test/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs b/src/test/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs deleted file mode 100644 index b9bb3ba72..000000000 --- a/src/test/debuginfo/auxiliary/cross_crate_debuginfo_type_uniquing.rs +++ /dev/null @@ -1,16 +0,0 @@ -// no-prefer-dynamic -#![crate_type = "rlib"] -// compile-flags:-g - -struct S1; - -impl S1 { - fn f(&mut self) { } -} - - -struct S2; - -impl S2 { - fn f(&mut self) { } -} diff --git a/src/test/debuginfo/auxiliary/cross_crate_spans.rs b/src/test/debuginfo/auxiliary/cross_crate_spans.rs deleted file mode 100644 index efe5e4195..000000000 --- a/src/test/debuginfo/auxiliary/cross_crate_spans.rs +++ /dev/null @@ -1,19 +0,0 @@ -#![crate_type = "rlib"] - -#![allow(unused_variables)] -#![feature(omit_gdb_pretty_printer_section)] -#![omit_gdb_pretty_printer_section] - -// no-prefer-dynamic -// compile-flags:-g - -pub fn generic_function<T: Clone>(val: T) -> (T, T) { - let result = (val.clone(), val.clone()); - let a_variable: u32 = 123456789; - let another_variable: f64 = 123456789.5; - zzz(); - result -} - -#[inline(never)] -fn zzz() {()} diff --git a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.natvis b/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.natvis deleted file mode 100644 index 5900fcc01..000000000 --- a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.natvis +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> - <Type Name="dependency_with_embedded_visualizers::Person"> - <DisplayString>{name} is {age} years old.</DisplayString> - <Expand> - <Item Name="[name]">name</Item> - <Item Name="[age]">age</Item> - </Expand> - </Type> -</AutoVisualizer> diff --git a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.py b/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.py deleted file mode 100644 index 2635ed487..000000000 --- a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.py +++ /dev/null @@ -1,23 +0,0 @@ -import gdb - -class PersonPrinter: - "Print a Person" - - def __init__(self, val): - self.val = val - self.name = val["name"] - self.age = int(val["age"]) - - def to_string(self): - return "{} is {} years old.".format(self.name, self.age) - -def lookup(val): - lookup_tag = val.type.tag - if lookup_tag is None: - return None - if "dependency_with_embedded_visualizers::Person" == lookup_tag: - return PersonPrinter(val) - - return None - -gdb.current_objfile().pretty_printers.append(lookup) diff --git a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.rs b/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.rs deleted file mode 100644 index 327515b10..000000000 --- a/src/test/debuginfo/auxiliary/dependency-with-embedded-visualizers.rs +++ /dev/null @@ -1,19 +0,0 @@ -// compile-flags:-g -// ignore-lldb -// no-prefer-dynamic - -#![feature(debugger_visualizer)] -#![debugger_visualizer(natvis_file = "dependency-with-embedded-visualizers.natvis")] -#![debugger_visualizer(gdb_script_file = "dependency-with-embedded-visualizers.py")] -#![crate_type = "rlib"] - -pub struct Person { - name: String, - age: i32, -} - -impl Person { - pub fn new(name: String, age: i32) -> Person { - Person { name: name, age: age } - } -} diff --git a/src/test/debuginfo/auxiliary/issue-13213-aux.rs b/src/test/debuginfo/auxiliary/issue-13213-aux.rs deleted file mode 100644 index bde98b445..000000000 --- a/src/test/debuginfo/auxiliary/issue-13213-aux.rs +++ /dev/null @@ -1,19 +0,0 @@ -#![crate_type = "lib"] -// compile-flags:-g - -pub use private::P; - -#[derive(Copy, Clone)] -pub struct S { - p: P, -} - -mod private { - #[derive(Copy, Clone)] - pub struct P { - p: i32, - } - pub const THREE: P = P { p: 3 }; -} - -pub static A: S = S { p: private::THREE }; diff --git a/src/test/debuginfo/auxiliary/macro-stepping.rs b/src/test/debuginfo/auxiliary/macro-stepping.rs deleted file mode 100644 index 4447dd22d..000000000 --- a/src/test/debuginfo/auxiliary/macro-stepping.rs +++ /dev/null @@ -1,10 +0,0 @@ -// compile-flags:-g - -#![crate_type = "rlib"] - -#[macro_export] -macro_rules! new_scope { - () => { - let x = 1; - } -} |