[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #113148)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 27 12:52:53 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-multistage` running on `systemz-1` while building `clang,llvm` at step 5 "ninja check 1".

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

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

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/ptrauth-sign-personality.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llc -mtriple=aarch64-linux -filetype=asm /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll -o - | /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/llc -mtriple=aarch64-linux -filetype=asm /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll -o -
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll
/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll:30:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: .xword __gxx_personality_v0 at AUTH(ia,32429,addr)
              ^
<stdin>:68:29: note: scanning from here
DW.ref.__gxx_personality_v0:
                            ^
<stdin>:69:2: note: possible intended match here
 .xword __gxx_personality_v0
 ^

Input file: <stdin>
Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           .
           .
           .
          63:  .weak DW.ref.__gxx_personality_v0 
          64:  .section .data.DW.ref.__gxx_personality_v0,"awG", at progbits,DW.ref.__gxx_personality_v0,comdat 
          65:  .p2align 3, 0x0 
          66:  .type DW.ref.__gxx_personality_v0, at object 
          67:  .size DW.ref.__gxx_personality_v0, 8 
          68: DW.ref.__gxx_personality_v0: 
next:30'0                                 X error: no match found
          69:  .xword __gxx_personality_v0 
next:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:30'1      ?                            possible intended match
          70:  .section ".note.GNU-stack","", at progbits 
next:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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

Step 11 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/AArch64/ptrauth-sign-personality.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llc -mtriple=aarch64-linux -filetype=asm /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll -o - | /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/llc -mtriple=aarch64-linux -filetype=asm /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll -o -
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/stage2/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll
/home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll:30:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: .xword __gxx_personality_v0 at AUTH(ia,32429,addr)
              ^
<stdin>:68:29: note: scanning from here
DW.ref.__gxx_personality_v0:
                            ^
<stdin>:69:2: note: possible intended match here
 .xword __gxx_personality_v0
 ^

Input file: <stdin>
Check file: /home/uweigand/sandbox/buildbot/clang-s390x-linux-multistage/llvm/llvm/test/CodeGen/AArch64/ptrauth-sign-personality.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           .
           .
           .
          63:  .weak DW.ref.__gxx_personality_v0 
          64:  .section .data.DW.ref.__gxx_personality_v0,"awG", at progbits,DW.ref.__gxx_personality_v0,comdat 
          65:  .p2align 3, 0x0 
          66:  .type DW.ref.__gxx_personality_v0, at object 
          67:  .size DW.ref.__gxx_personality_v0, 8 
          68: DW.ref.__gxx_personality_v0: 
next:30'0                                 X error: no match found
          69:  .xword __gxx_personality_v0 
next:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:30'1      ?                            possible intended match
          70:  .section ".note.GNU-stack","", at progbits 
next:30'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


```

</details>

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


More information about the llvm-commits mailing list