[llvm] Adjust LDBG output: surround DebugType between `[` and `]` (PR #150671)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 26 04:42:16 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

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

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM-Unit :: Support/./SupportTests/10/96' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/b/1/llvm-clang-x86_64-expensive-checks-debian/build/unittests/Support/./SupportTests-LLVM-Unit-1771944-10-96.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=96 GTEST_SHARD_INDEX=10 /b/1/llvm-clang-x86_64-expensive-checks-debian/build/unittests/Support/./SupportTests
--

Script:
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/unittests/Support/./SupportTests --gtest_filter=DebugLogTest.Basic
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/Support/DebugLogTest.cpp:30: Failure
Value of: StringRef(os.str()).starts_with('[')
  Actual: false
Expected: true


/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/unittests/Support/DebugLogTest.cpp:30
Value of: StringRef(os.str()).starts_with('[')
  Actual: false
Expected: true



********************


```

</details>

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


More information about the llvm-commits mailing list