[clang] Symbol names on arm64 can have an extra char on front of name (PR #194937)

via cfe-commits cfe-commits at lists.llvm.org
Fri May 1 08:34:17 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 53768 tests passed
* 1172 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### Clang
<details>
<summary>Clang.CodeGen/2008-07-31-asm-labels.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\23\include -nostdsysteminc -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c |c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c -check-prefixes CHECK,CHECKREF
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\23\include' -nostdsysteminc -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c:6:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype]
# |     6 | void pipe() asm("_thisIsNotAPipe");
# |       |      ^
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c:13:6: note: conflicting prototype is here
# |    13 | void pipe(int);
# |       |      ^
# | 1 warning generated.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c' -check-prefixes CHECK,CHECKREF
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c:5:10: error: CHECK: expected string not found in input
# | //CHECK: _renamed{{.*}} = external global
# |          ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c'
# | ^
# | <stdin>:6:2: note: possible intended match here
# | @_renamed = external dso_local global i32, align 4
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: ; ModuleID = 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\2008-07-31-asm-labels.c' 
# | check:5'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: source_filename = "C:\\_work\\llvm-project\\llvm-project\\clang\\test\\CodeGen\\2008-07-31-asm-labels.c" 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3: target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            4: target triple = "x86_64-pc-windows-msvc" 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5:  
# | check:5'0     ~
# |            6: @_renamed = external dso_local global i32, align 4 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:5'1      ?                                                  possible intended match
# |            7:  
# | check:5'0     ~
# |            8: ; Function Attrs: noinline nounwind optnone 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            9: define dso_local void @f0() #0 { 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10: entry: 
# | check:5'0     ~~~~~~~
# |           11:  call void @_thisIsNotAPipe() 
# | check:5'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/194937


More information about the cfe-commits mailing list