[llvm] [NFC] Don't recompute type name (PR #119631)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 09:32:50 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-win-fast` running on `as-builder-3` while building `llvm` at step 7 "test-build-unified-tree-check-llvm-unit".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/13172

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-llvm-unit) failure: test (failure)
******************** TEST 'LLVM-Unit :: IR/./IRTests.exe/0/99' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\IR\.\IRTests.exe-LLVM-Unit-1140-0-99.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=99 GTEST_SHARD_INDEX=0 C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\IR\.\IRTests.exe
--

Script:
--
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\unittests\IR\.\IRTests.exe --gtest_filter=LoopCallbacksTest.InstrumentedInvalidatingPasses
--
unknown file: error: 
Unexpected mock function call - returning directly.
    Function call: runAfterPassInvalidated("", @000000461D18D4B0 80-byte object <C8-D4 18-1D 46-00 00-00 02-00 00-00 01-00 00-00 00-00 00-00 01-00 00-00 70-B0 C6-63 F6-7F 00-00 00-00 00-00 00-00 00-00 F0-D4 18-1D 46-00 00-00 02-00 00-00 00-00 00-00 00-00 00-00 01-02 00-00 10-D7 18-1D 46-00 00-00 60-D8 18-1D 46-00 00-00>)
Google Mock tried the following 2 expectations, but none matched:

C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(910): tried expectation #0: EXPECT_CALL(CallbacksHandle, runAfterPassInvalidated(HasNameRegex("MockPassHandle"), _))...
  Expected arg #0: has name regex (Name: "MockPassHandle")
           Actual: "", has name ''
         Expected: to be called once
           Actual: never called - unsatisfied and active
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(913): tried expectation #1: EXPECT_CALL(CallbacksHandle, runAfterPassInvalidated(HasNameRegex("^PassManager"), _))...
  Expected arg #0: has name regex (Name: "^PassManager")
           Actual: "", has name ''
         Expected: to be called once
           Actual: never called - unsatisfied and active

unknown file: error: 
Unexpected mock function call - returning directly.
    Function call: runAfterPassInvalidated("", @000000461D18D860 80-byte object <78-D8 18-1D 46-00 00-00 02-00 00-00 01-00 00-00 00-00 00-00 01-00 00-00 70-B0 C6-63 F6-7F 00-00 B8-D7 18-1D 46-00 00-00 A0-D8 18-1D 46-00 00-00 02-00 00-00 00-00 00-00 00-00 00-00 01-02 00-00 C0-A6 B9-3A 22-02 00-00 70-52 BA-3A 22-02 00-00>)
Google Mock tried the following 2 expectations, but none matched:

C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(910): tried expectation #0: EXPECT_CALL(CallbacksHandle, runAfterPassInvalidated(HasNameRegex("MockPassHandle"), _))...
  Expected arg #0: has name regex (Name: "MockPassHandle")
           Actual: "", has name ''
         Expected: to be called once
           Actual: never called - unsatisfied and active
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(913): tried expectation #1: EXPECT_CALL(CallbacksHandle, runAfterPassInvalidated(HasNameRegex("^PassManager"), _))...
  Expected arg #0: has name regex (Name: "^PassManager")
           Actual: "", has name ''
         Expected: to be called once
           Actual: never called - unsatisfied and active

C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(907): error: Actual function call count doesn't match EXPECT_CALL(CallbacksHandle, runAfterAnalysis(HasNameRegex("MockAnalysisHandle"), HasName("loop")))...
         Expected: to be called once
           Actual: never called - unsatisfied and active

C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\unittests\IR\PassBuilderCallbacksTest.cpp(903): error: Actual function call count doesn't match EXPECT_CALL(CallbacksHandle, runBeforeAnalysis(HasNameRegex("MockAnalysisHandle"), HasName("loop")))...
         Expected: to be called once
           Actual: never called - unsatisfied and active

...

```

</details>

https://github.com/llvm/llvm-project/pull/119631


More information about the llvm-commits mailing list