[clang] [clang] Apply cfi_unchecked_callee rules to -fsanitize=function (PR #170725)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 19 13:34:26 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-ubuntu-x-aarch64-pauth` running on `as-builder-11` while building `clang` at step 15 "test-check-clang".

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

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

```
Step 15 (test-check-clang) failure: Test just built components: check-clang completed (failure)
******************** TEST 'Clang :: Preprocessor/c99-6_10_3_4_p6.c' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/bin/clang -cc1 -internal-isystem /home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/lib/clang/22/include -nostdsysteminc -E /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c | /home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/bin/FileCheck -strict-whitespace /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c
# executed command: /home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/bin/clang -cc1 -internal-isystem /home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/lib/clang/22/include -nostdsysteminc -E /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c
# .---command stderr------------
# | /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c:7:57: warning: backslash and newline separated by space [-Wbackslash-newline-escape]
# |     7 | #define debug(s, t) printf("x" # s "= %d, x" # t "= s" \ 
# |       |                                                         ^
# | 1 warning generated.
# `-----------------------------
# executed command: /home/buildbot/worker/as-builder-11/x-aarch64-pauth/build/bin/FileCheck -strict-whitespace /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c
# .---command stderr------------
# | /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c:24:11: error: CHECK: expected string not found in input
# | // CHECK: include "vers2.h"
# |           ^
# | <stdin>:10:62: note: scanning from here
# | fputs("strncmp(\"abc\\0d\" \"abc\", '\\4') == 0" ": @\n", s);
# |                                                              ^
# | <stdin>:12:1: note: possible intended match here
# | include "vers2 .h"
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             5: # 1 "<command line>" 1 
# |             6: # 1 "<built-in>" 2 
# |             7: # 1 "/home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c" 2 
# |             8: # 14 "/home/buildbot/worker/as-builder-11/x-aarch64-pauth/llvm-project/clang/test/Preprocessor/c99-6_10_3_4_p6.c" 
# |             9: printf("x" "1" "= %d, x" "2" "= s" x1, x2); 
# |            10: fputs("strncmp(\"abc\\0d\" \"abc\", '\\4') == 0" ": @\n", s); 
# | check:24'0                                                                  X error: no match found
# |            11:  
# | check:24'0     ~
# |            12: include "vers2 .h" 
# | check:24'0     ~~~~~~~~~~~~~~~~~~~
# | check:24'1     ?                   possible intended match
# |            13: "hello"; 
# | check:24'0     ~~~~~~~~~
...

```

</details>

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


More information about the cfe-commits mailing list