[all-commits] [llvm/llvm-project] 25f4f0: [llvm-ifs] Handle more e_machine values for --targ...

Roland McGrath via All-commits all-commits at lists.llvm.org
Wed Mar 26 13:22:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25f4f0a56de741a8120cfeab297211e9505ec1d7
      https://github.com/llvm/llvm-project/commit/25f4f0a56de741a8120cfeab297211e9505ec1d7
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELF.h
    M llvm/lib/BinaryFormat/ELF.cpp
    M llvm/lib/InterfaceStub/IFSHandler.cpp
    M llvm/test/tools/llvm-ifs/write-stub.test

  Log Message:
  -----------
  [llvm-ifs] Handle more e_machine values for --target (#128559)

This adds ELF::convertTripleArchTypeToEMachine and uses it in
llvm-ifs.  It handles many more Triple::ArchType values than the
old code, though not all since I couldn't quickly discern
what all the mappings are.



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