[clang] [clang] Add Bytes/Columns types to TextDiagnostic (PR #165541)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 30 02:10:28 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `clang` at step 6 "test-build-unified-tree-check-all".

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

<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 'Clang :: Lexer/has_feature_undefined_behavior_sanitizer.cpp' FAILED ********************
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 1
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=undefined /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefix=CHECK-UBSAN /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=undefined /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefix=CHECK-UBSAN /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 2
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=alignment /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ALIGNMENT /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=alignment /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ALIGNMENT /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=bool /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-BOOL /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=bool /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-BOOL /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 4
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=builtin /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-BUILTIN /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=builtin /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-BUILTIN /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 5
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=array-bounds /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ARRAY-BOUNDS /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=array-bounds /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ARRAY-BOUNDS /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=enum /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ENUM /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=enum /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-ENUM /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 7
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=float-cast-overflow /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-FLOAT-CAST-OVERFLOW /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=float-cast-overflow /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
# note: command had no output on stdout or stderr
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-FLOAT-CAST-OVERFLOW /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# note: command had no output on stdout or stderr
# RUN: at line 8
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=integer-divide-by-zero /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o - | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck --check-prefixes=CHECK-UBSAN,CHECK-INTEGER-DIVIDE-BY-ZERO /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp
# executed command: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/clang -E -target x86_64-unknown-linux-gnu -fsanitize=integer-divide-by-zero /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/clang/test/Lexer/has_feature_undefined_behavior_sanitizer.cpp -o -
...

```

</details>

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


More information about the cfe-commits mailing list