[all-commits] [llvm/llvm-project] a9d948: [llvm-lib][llvm-dlltool] Fix handling of invalid A...

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


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

  Changed paths:
    M llvm/lib/Object/COFFImportFile.cpp
    M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
    A llvm/test/tools/llvm-dlltool/arm64ec-invalid-name.test
    A llvm/test/tools/llvm-lib/arm64ec-invalid-name.test

  Log Message:
  -----------
  [llvm-lib][llvm-dlltool] Fix handling of invalid ARM64EC function names (#116250)

This is a follow-up to #115567. Emit an error for invalid function
names, similar to MSVC's `lib.exe` behavior.

Returning an error from `writeImportLibrary` exposed bugs in error
handling by its callers, which have been addressed in this patch.



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