Skip to content

[ARM64EC]Extra pair of quotes added to EC symbol libcall name causes linker errors #143890

@SquallATF

Description

@SquallATF
Contributor

After commit 4bdcf5b, the EC symbol in libcall names related to have an extra pair of quotation marks ("), which results in undefined symbol errors during linking.
before this commit EC symble name like this

llvm-nm test.o | grep memset
         U #memset

after this commit EC symbol name like this

llvm-nm test.o | grep memset
         U #"memset"

Activity

llvmbot

llvmbot commented on Jun 12, 2025

@llvmbot
Member

@llvm/issue-subscribers-libc

Author: None (SquallATF)

After commit 4bdcf5b, the EC symbol names in libc related to have an extra pair of quotation marks ("), which results in undefined symbol errors during linking. befault this commit EC symble name like this ``` llvm-nm test.o | grep memset U #memset ``` after this commit EC symbol name like this ``` llvm-nm test.o | grep memset U #"memset" ```
changed the title [-][ARM64EC]Extra pair of quotes added to libc EC symbols causes linker errors[/-] [+][ARM64EC]Extra pair of quotes added to libcall names EC symbols causes linker errors[/+] on Jun 12, 2025
changed the title [-][ARM64EC]Extra pair of quotes added to libcall names EC symbols causes linker errors[/-] [+][ARM64EC]Extra pair of quotes added to EC symbol libcall name causes linker errors[/+] on Jun 12, 2025
assigned and unassigned on Jun 12, 2025
arsenm

arsenm commented on Jun 12, 2025

@arsenm
Contributor

#87542 and whatever commits added the original overrides did not add any tests. This is going to continue breaking without tests. @dpaoliello can you address the original request to add the tests, there really need to be exhaustive tests that cover every ABI function

dpaoliello

dpaoliello commented on Jun 12, 2025

@dpaoliello
Contributor

FYI @efriedma-quic

I'll put it on my todo list, not sure when I'll have time to get to it though...

llvmbot

llvmbot commented on Jun 12, 2025

@llvmbot
Member

@llvm/issue-subscribers-backend-aarch64

Author: None (SquallATF)

After commit 4bdcf5b, the EC symbol in libcall names related to have an extra pair of quotation marks ("), which results in undefined symbol errors during linking. before this commit EC symble name like this ``` llvm-nm test.o | grep memset U #memset ``` after this commit EC symbol name like this ``` llvm-nm test.o | grep memset U #"memset" ```
added a commit that references this issue on Jun 16, 2025
222ab28
added a commit that references this issue on Jun 24, 2025
2fd3657
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @arsenm@SquallATF@EugeneZelenko@dpaoliello@efriedma-quic

    Issue actions

      [ARM64EC]Extra pair of quotes added to EC symbol libcall name causes linker errors · Issue #143890 · llvm/llvm-project