diff options
| author | bors <bors@rust-lang.org> | 2024-12-19 22:38:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-12-19 22:38:49 +0000 |
| commit | 8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb (patch) | |
| tree | 94b178d6564e5d6dfe7c6cd10b71a4d58abd0182 /tests/codegen/debug-vtable.rs | |
| parent | 9e136a30a965bf4e63f03095c57df7257bf96fd6 (diff) | |
| parent | 4f053b18f53c019f36f79f429bbc01ec5c53e8dc (diff) | |
| download | rust-8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb.tar.gz rust-8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb.zip | |
Auto merge of #134516 - matthiaskrgr:rollup-aqwxii0, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #134463 (compiletest: don't register predefined `MSVC`/`NONMSVC` FileCheck prefixes) - #134487 (Add reference annotations for the `coverage` attribute) - #134497 (coverage: Store coverage source regions as `Span` until codegen (take 2)) - #134502 (Update std libc version to 0.2.169) - #134506 (Remove a duplicated check that doesn't do anything anymore.) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/codegen/debug-vtable.rs')
| -rw-r--r-- | tests/codegen/debug-vtable.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/codegen/debug-vtable.rs b/tests/codegen/debug-vtable.rs index 036fff6cd23..b9808e4079b 100644 --- a/tests/codegen/debug-vtable.rs +++ b/tests/codegen/debug-vtable.rs @@ -1,5 +1,10 @@ -// This test checks the debuginfo for the expected 3 vtables is generated for correct names and number -// of entries. +// ignore-tidy-linelength +//! This test checks the debuginfo for the expected 3 vtables is generated for correct names and +//! number of entries. + +//@ revisions: MSVC NONMSVC +//@[MSVC] only-msvc +//@[NONMSVC] ignore-msvc // Use the v0 symbol mangling scheme to codegen order independent of rustc version. // Unnamed items like shims are generated in lexicographical order of their symbol name and in the @@ -7,7 +12,6 @@ // of the name, thus randomizing item order with respect to rustc version. //@ compile-flags: -Cdebuginfo=2 -Copt-level=0 -Csymbol-mangling-version=v0 -// ignore-tidy-linelength // Make sure that vtables don't have the unnamed_addr attribute when debuginfo is enabled. // This helps debuggers more reliably map from dyn pointer to concrete type. |
