[all-commits] [llvm/llvm-project] cdda76: [LLD][COFF] Fix handling of invalid ARM64EC functi...

Jacek Caban via All-commits all-commits at lists.llvm.org
Fri Nov 15 07:42:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdda76a8cfc3b0c5def836f68f6f58efba03e01c
      https://github.com/llvm/llvm-project/commit/cdda76a8cfc3b0c5def836f68f6f58efba03e01c
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/SymbolTable.cpp
    A lld/test/COFF/arm64ec-invalid-name.s

  Log Message:
  -----------
  [LLD][COFF] Fix handling of invalid ARM64EC function names (#116252)

Since these symbols cannot be mangled or demangled, there is no symbol
to check for conflicts in `checkLazyECPair`, nor is there an alias to
create in `addUndefined`. Attempting to create an import library with
such symbols results in an error; the patch includes a test to ensure
the error is handled correctly.

This is a follow-up to #115567.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list