Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 7 pull requests #126412

Closed
wants to merge 23 commits into from

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

madsmtm and others added 23 commits May 20, 2024 06:37
Since we support solaris 11 and macOs Sierra as minimum, we can get rid
of the runtime overhead.
For PGO/coverage tests that don't need to build or run an actual artifact, we
can use `-Zno-profiler-runtime` to run the test even when the profiler runtime
is not available.
The profiler runtime is no longer built in mingw test jobs, so these tests
should naturally be skipped by `//@ needs-profiler-support`.
We don't build LLVM when using the precompiled version from the CI builder.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Always emit `native-static-libs` note, even if it is empty

Fixes rust-lang#108825.
Don't build a broken/untested profiler runtime on mingw targets

Context: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Why.20build.20a.20broken.2Funtested.20profiler.20runtime.20on.20mingw.3F

rust-lang#75872 added `--enable-profiler` to the `x86_64-mingw` job (to cause some additional tests to run), but had to also add `//@ ignore-windows-gnu` to all of the tests that rely on the profiler runtime actually *working*, because it's broken on that target.

We can achieve a similar outcome by going through all the `//@ needs-profiler-support` tests that don't actually need to produce/run a binary, and making them use `-Zno-profiler-runtime` instead, so that they can run even in configurations that don't have the profiler runtime available. Then we can remove `--enable-profiler` from `x86_64-mingw`, and still get the same amount of testing.

This PR also removes `--enable-profiler` from the mingw dist builds, since it is broken/untested on that target. Those builds have had that flag for a very long time.
change method resolution to constrain hidden types instead of rejecting method candidates

Some of these are in probes and may affect inference. This is therefore a breaking change.

This allows new code to compile on stable:

```rust
trait Trait {}

impl Trait for u32 {}

struct Bar<T>(T);

impl Bar<u32> {
    fn foo(self) {}
}

fn foo(x: bool) -> Bar<impl Sized> {
    if x {
        let x = foo(false);
        x.foo();
        //^ this used to not find the `foo` method, because while we did equate `x`'s type with possible candidates, we didn't allow opaque type inference while doing so
    }
    todo!()
}
```

r? ``@compiler-errors``

fixes  rust-lang#121404

cc rust-lang#116652
Avoid ICES after reporting errors on erroneous patterns

fixes rust-lang#109812
fixes rust-lang#125914
fixes rust-lang#124004
Remove some msys2 utils

`dos2unix` should no longer be necessary. I suspect `diffutils` might not be needed either as (I think) only `diff` is used and that seems to be shipped with git bash at least.

try-job: x86_64-msvc
try-job: x86_64-msvc-ext
try-job: dist-x86_64-msvc
std::unix::fs::link using direct linkat call for Solaris.

Since we support solaris 11 as minimum, we can get rid of the runtime overhead.

try-job: dist-various-2
extend the check for LLVM build

We don't build LLVM when using the precompiled version from the CI builder.

Closes rust-lang#126156
@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jun 13, 2024
@rustbot rustbot added T-libs Relevant to the library team, which will review and decide on the PR/issue. rollup A PR which is a rollup labels Jun 13, 2024
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=7

@bors
Copy link
Contributor

bors commented Jun 13, 2024

📌 Commit 1521dc8 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 13, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 13, 2024
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#121216 (Always emit `native-static-libs` note, even if it is empty)
 - rust-lang#122613 (Don't build a broken/untested profiler runtime on mingw targets)
 - rust-lang#123962 (change method resolution to constrain hidden types instead of rejecting method candidates)
 - rust-lang#126320 (Avoid ICES after reporting errors on erroneous patterns)
 - rust-lang#126343 (Remove some msys2 utils)
 - rust-lang#126351 (std::unix::fs::link using direct linkat call for Solaris.)
 - rust-lang#126399 (extend the check for LLVM build)

Failed merges:

 - rust-lang#126388 (const-eval: make lint scope computation consistent)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
Copy link
Contributor

bors commented Jun 13, 2024

⌛ Testing commit 1521dc8 with merge 05124f1...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-nopt failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
test [ui] tests/ui/impl-trait/bound-normalization-pass.rs#sa ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl.rs#current ... ok
test [ui] tests/ui/impl-trait/call_method_ambiguous.rs#next ... ok
test [ui] tests/ui/impl-trait/bounds_regression.rs ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl.rs#next ... ok
test [ui] tests/ui/impl-trait/call_method_ambiguous.rs#current ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl_on_rigid_type.rs#current ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl_on_rigid_type.rs#next ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl_ref.rs#current ... ok
test [ui] tests/ui/impl-trait/call_method_on_inherent_impl_ref.rs#next ... ok
test [ui] tests/ui/impl-trait/call_method_without_import.rs#no_import ... ok
test [ui] tests/ui/impl-trait/capture-lifetime-not-in-hir.rs ... ok
---
failures:

---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#all stdout ----

error in revision `all`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.all/instrument-coverage.ll" "/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs" "--check-prefix=CHECK" "--check-prefix" "all" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
// CHECK: @__llvm_coverage_mapping
          ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.all/instrument-coverage.ll:26:89: note: scanning from here
@__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat
                                                                                        ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.all/instrument-coverage.ll:28:6: note: possible intended match here
; instrument_coverage::some_function

Input file: /checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.all/instrument-coverage.ll
Check file: /checkout/tests/codegen/instrument-coverage/instrument-coverage.rs


-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'instrument_coverage.f559351d3d0cbe85-cgu.0' 
            2: source_filename = "instrument_coverage.f559351d3d0cbe85-cgu.0" 
            3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
            4: target triple = "x86_64-unknown-linux-gnu" 
            5:  
            6: $__covrec_CE826B4BDD5832u = comdat any 
            7:  
            8: $__covrec_2F5D2B35CC4A125Fu = comdat any 
            9:  
           10: $__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = comdat nodeduplicate 
           11:  
           12: $__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = comdat nodeduplicate 
           13:  
           14: $__llvm_profile_filename = comdat any 
           15:  
           16: @__llvm_coverage_mapping = private constant { { i32, i32, i32, i32 }, [66 x i8] } { { i32, i32, i32, i32 } { i32 0, i32 66, i32 0, i32 6 }, [66 x i8] c"\02Q?x\DA\E3\D5O\CEHM\CE\CE/-\D1\CFO\CArB\F0JR\8BK\8A\F5\93\F3SR\D3S\F3\F43\F3\8AK\8AJsS\F3Jt\93\F3\CBR\8B\12\D3S\B1\89\E9\15\15\03\00\E2\EE\1F?" }, section "__llvm_covmap", align 8 
           17: @__covrec_CE826B4BDD5832u = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 58127242548303922, i32 9, i64 2208967034106131926, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\12\01\00\16" }>, section "__llvm_covfun", comdat, align 8 
           18: @__covrec_2F5D2B35CC4A125Fu = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 3412931602677371487, i32 9, i64 5283700153213734553, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\14\01\02\02" }>, section "__llvm_covfun", comdat, align 8 
           19: @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           20: @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 58127242548303922, i64 2208967034106131926, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function), align 8 
           21: @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           22: @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 3412931602677371487, i64 5283700153213734553, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function), align 8 
           23: @__llvm_prf_nm = private constant [78 x i8] c"sLx\DA\8B\0F\F2+s.\CE1\8E2404q\F5\CC\CC\8B7\B4\CC\CC+.)*\CDM\CD+\89O\CE/K-JLO54.\CE\CFM\8DO+\CDK.\C9\CC\CFc\8C'R\9B%X[~IFj\11\\3\00S\8C*{", section "__llvm_prf_names", align 1 
           24: @llvm.compiler.used = appending global [2 x ptr] [ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function, ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function], section "llvm.metadata" 
           25: @llvm.used = appending global [4 x ptr] [ptr @__llvm_coverage_mapping, ptr @__covrec_CE826B4BDD5832u, ptr @__covrec_2F5D2B35CC4A125Fu, ptr @__llvm_prf_nm], section "llvm.metadata" 
           26: @__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat 
check:13'0                                                                                             X error: no match found
check:13'0     ~
           28: ; instrument_coverage::some_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'1          ?                                possible intended match
           29: ; Function Attrs: noinline nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           30: define internal void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() unnamed_addr #0 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           32:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  ret void 
check:13'0     ~~~~~~~~~~
           34: } 
check:13'0     ~~
check:13'0     ~
           36: ; instrument_coverage::some_other_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           37: ; Function Attrs: nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           38: define void @_RNvCsl3Z1014EIin_19instrument_coverage19some_other_function() unnamed_addr #1 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           40:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           42:  call void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           43:  ret void 
check:13'0     ~~~~~~~~~~
           44: } 
check:13'0     ~~
check:13'0     ~
           46: ; Function Attrs: nounwind 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           47: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #2 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           49: attributes #0 = { noinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           50: attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           51: attributes #2 = { nounwind } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           53: !llvm.module.flags = !{!0, !1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           54: !llvm.ident = !{!2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           56: !0 = !{i32 8, !"PIC Level", i32 2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           57: !1 = !{i32 2, !"RtLibUseGOT", i32 1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           58: !2 = !{!"rustc version 1.81.0-nightly (05124f189 2024-06-13)"} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------


---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#default stdout ----
---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#default stdout ----

error in revision `default`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.default/instrument-coverage.ll" "/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs" "--check-prefix=CHECK" "--check-prefix" "default" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
// CHECK: @__llvm_coverage_mapping
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.default/instrument-coverage.ll:26:89: note: scanning from here
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.default/instrument-coverage.ll:26:89: note: scanning from here
@__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.default/instrument-coverage.ll:28:6: note: possible intended match here
; instrument_coverage::some_function
     ^


Input file: /checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.default/instrument-coverage.ll
Check file: /checkout/tests/codegen/instrument-coverage/instrument-coverage.rs

-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'instrument_coverage.f559351d3d0cbe85-cgu.0' 
            2: source_filename = "instrument_coverage.f559351d3d0cbe85-cgu.0" 
            3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
            4: target triple = "x86_64-unknown-linux-gnu" 
            5:  
            6: $__covrec_CE826B4BDD5832u = comdat any 
            7:  
            8: $__covrec_2F5D2B35CC4A125Fu = comdat any 
            9:  
           10: $__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = comdat nodeduplicate 
           11:  
           12: $__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = comdat nodeduplicate 
           13:  
           14: $__llvm_profile_filename = comdat any 
           15:  
           16: @__llvm_coverage_mapping = private constant { { i32, i32, i32, i32 }, [66 x i8] } { { i32, i32, i32, i32 } { i32 0, i32 66, i32 0, i32 6 }, [66 x i8] c"\02Q?x\DA\E3\D5O\CEHM\CE\CE/-\D1\CFO\CArB\F0JR\8BK\8A\F5\93\F3SR\D3S\F3\F43\F3\8AK\8AJsS\F3Jt\93\F3\CBR\8B\12\D3S\B1\89\E9\15\15\03\00\E2\EE\1F?" }, section "__llvm_covmap", align 8 
           17: @__covrec_CE826B4BDD5832u = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 58127242548303922, i32 9, i64 2208967034106131926, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\12\01\00\16" }>, section "__llvm_covfun", comdat, align 8 
           18: @__covrec_2F5D2B35CC4A125Fu = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 3412931602677371487, i32 9, i64 5283700153213734553, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\14\01\02\02" }>, section "__llvm_covfun", comdat, align 8 
           19: @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           20: @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 58127242548303922, i64 2208967034106131926, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function), align 8 
           21: @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           22: @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 3412931602677371487, i64 5283700153213734553, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function), align 8 
           23: @__llvm_prf_nm = private constant [78 x i8] c"sLx\DA\8B\0F\F2+s.\CE1\8E2404q\F5\CC\CC\8B7\B4\CC\CC+.)*\CDM\CD+\89O\CE/K-JLO54.\CE\CFM\8DO+\CDK.\C9\CC\CFc\8C'R\9B%X[~IFj\11\\3\00S\8C*{", section "__llvm_prf_names", align 1 
           24: @llvm.compiler.used = appending global [2 x ptr] [ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function, ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function], section "llvm.metadata" 
           25: @llvm.used = appending global [4 x ptr] [ptr @__llvm_coverage_mapping, ptr @__covrec_CE826B4BDD5832u, ptr @__covrec_2F5D2B35CC4A125Fu, ptr @__llvm_prf_nm], section "llvm.metadata" 
           26: @__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat 
check:13'0                                                                                             X error: no match found
check:13'0     ~
           28: ; instrument_coverage::some_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'1          ?                                possible intended match
           29: ; Function Attrs: noinline nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           30: define internal void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() unnamed_addr #0 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           32:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  ret void 
check:13'0     ~~~~~~~~~~
           34: } 
check:13'0     ~~
check:13'0     ~
           36: ; instrument_coverage::some_other_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           37: ; Function Attrs: nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           38: define void @_RNvCsl3Z1014EIin_19instrument_coverage19some_other_function() unnamed_addr #1 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           40:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           42:  call void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           43:  ret void 
check:13'0     ~~~~~~~~~~
           44: } 
check:13'0     ~~
check:13'0     ~
           46: ; Function Attrs: nounwind 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           47: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #2 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           49: attributes #0 = { noinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           50: attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           51: attributes #2 = { nounwind } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           53: !llvm.module.flags = !{!0, !1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           54: !llvm.ident = !{!2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           56: !0 = !{i32 8, !"PIC Level", i32 2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           57: !1 = !{i32 2, !"RtLibUseGOT", i32 1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           58: !2 = !{!"rustc version 1.81.0-nightly (05124f189 2024-06-13)"} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------


---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#on stdout ----
---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#on stdout ----

error in revision `on`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.on/instrument-coverage.ll" "/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs" "--check-prefix=CHECK" "--check-prefix" "on" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
// CHECK: @__llvm_coverage_mapping
          ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.on/instrument-coverage.ll:26:89: note: scanning from here
@__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat
                                                                                        ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.on/instrument-coverage.ll:28:6: note: possible intended match here
; instrument_coverage::some_function

Input file: /checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.on/instrument-coverage.ll
Check file: /checkout/tests/codegen/instrument-coverage/instrument-coverage.rs


-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'instrument_coverage.f559351d3d0cbe85-cgu.0' 
            2: source_filename = "instrument_coverage.f559351d3d0cbe85-cgu.0" 
            3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
            4: target triple = "x86_64-unknown-linux-gnu" 
            5:  
            6: $__covrec_CE826B4BDD5832u = comdat any 
            7:  
            8: $__covrec_2F5D2B35CC4A125Fu = comdat any 
            9:  
           10: $__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = comdat nodeduplicate 
           11:  
           12: $__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = comdat nodeduplicate 
           13:  
           14: $__llvm_profile_filename = comdat any 
           15:  
           16: @__llvm_coverage_mapping = private constant { { i32, i32, i32, i32 }, [66 x i8] } { { i32, i32, i32, i32 } { i32 0, i32 66, i32 0, i32 6 }, [66 x i8] c"\02Q?x\DA\E3\D5O\CEHM\CE\CE/-\D1\CFO\CArB\F0JR\8BK\8A\F5\93\F3SR\D3S\F3\F43\F3\8AK\8AJsS\F3Jt\93\F3\CBR\8B\12\D3S\B1\89\E9\15\15\03\00\E2\EE\1F?" }, section "__llvm_covmap", align 8 
           17: @__covrec_CE826B4BDD5832u = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 58127242548303922, i32 9, i64 2208967034106131926, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\12\01\00\16" }>, section "__llvm_covfun", comdat, align 8 
           18: @__covrec_2F5D2B35CC4A125Fu = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 3412931602677371487, i32 9, i64 5283700153213734553, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\14\01\02\02" }>, section "__llvm_covfun", comdat, align 8 
           19: @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           20: @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 58127242548303922, i64 2208967034106131926, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function), align 8 
           21: @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           22: @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 3412931602677371487, i64 5283700153213734553, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function), align 8 
           23: @__llvm_prf_nm = private constant [78 x i8] c"sLx\DA\8B\0F\F2+s.\CE1\8E2404q\F5\CC\CC\8B7\B4\CC\CC+.)*\CDM\CD+\89O\CE/K-JLO54.\CE\CFM\8DO+\CDK.\C9\CC\CFc\8C'R\9B%X[~IFj\11\\3\00S\8C*{", section "__llvm_prf_names", align 1 
           24: @llvm.compiler.used = appending global [2 x ptr] [ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function, ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function], section "llvm.metadata" 
           25: @llvm.used = appending global [4 x ptr] [ptr @__llvm_coverage_mapping, ptr @__covrec_CE826B4BDD5832u, ptr @__covrec_2F5D2B35CC4A125Fu, ptr @__llvm_prf_nm], section "llvm.metadata" 
           26: @__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat 
check:13'0                                                                                             X error: no match found
check:13'0     ~
           28: ; instrument_coverage::some_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'1          ?                                possible intended match
           29: ; Function Attrs: noinline nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           30: define internal void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() unnamed_addr #0 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           32:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  ret void 
check:13'0     ~~~~~~~~~~
           34: } 
check:13'0     ~~
check:13'0     ~
           36: ; instrument_coverage::some_other_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           37: ; Function Attrs: nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           38: define void @_RNvCsl3Z1014EIin_19instrument_coverage19some_other_function() unnamed_addr #1 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           40:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           42:  call void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           43:  ret void 
check:13'0     ~~~~~~~~~~
           44: } 
check:13'0     ~~
check:13'0     ~
           46: ; Function Attrs: nounwind 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           47: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #2 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           49: attributes #0 = { noinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           50: attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           51: attributes #2 = { nounwind } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           53: !llvm.module.flags = !{!0, !1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           54: !llvm.ident = !{!2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           56: !0 = !{i32 8, !"PIC Level", i32 2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           57: !1 = !{i32 2, !"RtLibUseGOT", i32 1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           58: !2 = !{!"rustc version 1.81.0-nightly (05124f189 2024-06-13)"} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------



---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#true_ stdout ----

error in revision `true_`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.true_/instrument-coverage.ll" "/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs" "--check-prefix=CHECK" "--check-prefix" "true_" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
// CHECK: @__llvm_coverage_mapping
          ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.true_/instrument-coverage.ll:26:89: note: scanning from here
@__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat
                                                                                        ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.true_/instrument-coverage.ll:28:6: note: possible intended match here
; instrument_coverage::some_function

Input file: /checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.true_/instrument-coverage.ll
Check file: /checkout/tests/codegen/instrument-coverage/instrument-coverage.rs


-dump-input=help explains the following input dump.
Input was:
<<<<<<
<<<<<<
            1: ; ModuleID = 'instrument_coverage.f559351d3d0cbe85-cgu.0' 
            2: source_filename = "instrument_coverage.f559351d3d0cbe85-cgu.0" 
            3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
            4: target triple = "x86_64-unknown-linux-gnu" 
            5:  
            6: $__covrec_CE826B4BDD5832u = comdat any 
            7:  
            8: $__covrec_2F5D2B35CC4A125Fu = comdat any 
            9:  
           10: $__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = comdat nodeduplicate 
           11:  
           12: $__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = comdat nodeduplicate 
           13:  
           14: $__llvm_profile_filename = comdat any 
           15:  
           16: @__llvm_coverage_mapping = private constant { { i32, i32, i32, i32 }, [66 x i8] } { { i32, i32, i32, i32 } { i32 0, i32 66, i32 0, i32 6 }, [66 x i8] c"\02Q?x\DA\E3\D5O\CEHM\CE\CE/-\D1\CFO\CArB\F0JR\8BK\8A\F5\93\F3SR\D3S\F3\F43\F3\8AK\8AJsS\F3Jt\93\F3\CBR\8B\12\D3S\B1\89\E9\15\15\03\00\E2\EE\1F?" }, section "__llvm_covmap", align 8 
           17: @__covrec_CE826B4BDD5832u = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 58127242548303922, i32 9, i64 2208967034106131926, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\12\01\00\16" }>, section "__llvm_covfun", comdat, align 8 
           18: @__covrec_2F5D2B35CC4A125Fu = linkonce_odr hidden constant <{ i64, i32, i64, i64, [9 x i8] }> <{ i64 3412931602677371487, i32 9, i64 5283700153213734553, i64 -2023457505167154412, [9 x i8] c"\01\01\00\01\01\14\01\02\02" }>, section "__llvm_covfun", comdat, align 8 
           19: @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           20: @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 58127242548303922, i64 2208967034106131926, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function), align 8 
           21: @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global [1 x i64] zeroinitializer, section "__llvm_prf_cnts", comdat, align 8 
           22: @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function = private global { i64, i64, i64, i64, ptr, ptr, i32, [2 x i16], i32 } { i64 3412931602677371487, i64 5283700153213734553, i64 sub (i64 ptrtoint (ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64), i64 ptrtoint (ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function to i64)), i64 0, ptr null, ptr null, i32 1, [2 x i16] zeroinitializer, i32 0 }, section "__llvm_prf_data", comdat($__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function), align 8 
           23: @__llvm_prf_nm = private constant [78 x i8] c"sLx\DA\8B\0F\F2+s.\CE1\8E2404q\F5\CC\CC\8B7\B4\CC\CC+.)*\CDM\CD+\89O\CE/K-JLO54.\CE\CFM\8DO+\CDK.\C9\CC\CFc\8C'R\9B%X[~IFj\11\\3\00S\8C*{", section "__llvm_prf_names", align 1 
           24: @llvm.compiler.used = appending global [2 x ptr] [ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage13some_function, ptr @__profd__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function], section "llvm.metadata" 
           25: @llvm.used = appending global [4 x ptr] [ptr @__llvm_coverage_mapping, ptr @__covrec_CE826B4BDD5832u, ptr @__covrec_2F5D2B35CC4A125Fu, ptr @__llvm_prf_nm], section "llvm.metadata" 
           26: @__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat 
check:13'0                                                                                             X error: no match found
check:13'0     ~
           28: ; instrument_coverage::some_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'1          ?                                possible intended match
           29: ; Function Attrs: noinline nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           30: define internal void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() unnamed_addr #0 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           32:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage13some_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           33:  ret void 
check:13'0     ~~~~~~~~~~
           34: } 
check:13'0     ~~
check:13'0     ~
           36: ; instrument_coverage::some_other_function 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           37: ; Function Attrs: nonlazybind uwtable 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           38: define void @_RNvCsl3Z1014EIin_19instrument_coverage19some_other_function() unnamed_addr #1 { 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~
check:13'0     ~~~~~~~
           40:  %0 = atomicrmw add ptr @__profc__RNvCsl3Z1014EIin_19instrument_coverage19some_other_function, i64 1 monotonic, align 8 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           42:  call void @_RNvCsl3Z1014EIin_19instrument_coverage13some_function() 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           43:  ret void 
check:13'0     ~~~~~~~~~~
           44: } 
check:13'0     ~~
check:13'0     ~
           46: ; Function Attrs: nounwind 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           47: declare void @llvm.instrprof.increment(ptr, i64, i32, i32) #2 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           49: attributes #0 = { noinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           50: attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           51: attributes #2 = { nounwind } 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           53: !llvm.module.flags = !{!0, !1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           54: !llvm.ident = !{!2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~
check:13'0     ~
check:13'0     ~
           56: !0 = !{i32 8, !"PIC Level", i32 2} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           57: !1 = !{i32 2, !"RtLibUseGOT", i32 1} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           58: !2 = !{!"rustc version 1.81.0-nightly (05124f189 2024-06-13)"} 
check:13'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------


---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#yes stdout ----
---- [codegen] tests/codegen/instrument-coverage/instrument-coverage.rs#yes stdout ----

error in revision `yes`: verification with 'FileCheck' failed
status: exit status: 1
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.yes/instrument-coverage.ll" "/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs" "--check-prefix=CHECK" "--check-prefix" "yes" "--check-prefix" "NONMSVC" "--allow-unused-prefixes" "--dump-input-context" "100"
--- stderr -------------------------------
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
/checkout/tests/codegen/instrument-coverage/instrument-coverage.rs:13:11: error: CHECK: expected string not found in input
// CHECK: @__llvm_coverage_mapping
          ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.yes/instrument-coverage.ll:26:89: note: scanning from here
@__llvm_profile_filename = hidden constant [22 x i8] c"default_%m_%p.profraw\00", comdat
                                                                                        ^
/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.yes/instrument-coverage.ll:28:6: note: possible intended match here
; instrument_coverage::some_function

Input file: /checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen/instrument-coverage/instrument-coverage.yes/instrument-coverage.ll
Check file: /checkout/tests/codegen/instrument-coverage/instrument-coverage.rs

@bors
Copy link
Contributor

bors commented Jun 13, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc O-unix Operating system: Unix-like rollup A PR which is a rollup S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

10 participants