[llvm-branch-commits] [clang] [clang][diagnostics] Reject embedded NUL characters in inline asm (PR #196462)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 8 01:57:16 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 87830 tests passed
* 1533 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Sema/inline-asm-constraint-embedded-null.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-unknown -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -triple x86_64-unknown-unknown -fsyntax-only -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c
# .---command stderr------------
# | error: 'expected-error' diagnostics expected but not seen:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 6: input constraint contains embedded an null character
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 11: output constraint contains embedded an null character
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 15: clobber contains embedded an null character
# | error: 'expected-error' diagnostics seen but not expected:
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 6: input constraint contains an embedded null character
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 11: output constraint contains an embedded null character
# | File /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Sema/inline-asm-constraint-embedded-null.c Line 15: clobber contains an embedded null character
# | 6 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/196462
More information about the llvm-branch-commits
mailing list