[all-commits] [llvm/llvm-project] e89619: [LLD] [COFF] Fix deducing the machine type from LT...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Nov 7 02:00:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8961969ec8906c593409748e7c24355236b3cc1
      https://github.com/llvm/llvm-project/commit/e8961969ec8906c593409748e7c24355236b3cc1
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-11-07 (Tue, 07 Nov 2023)

  Changed paths:
    M lld/COFF/InputFiles.cpp
    A lld/test/COFF/lto-arm.ll

  Log Message:
  -----------
  [LLD] [COFF] Fix deducing the machine type from LTO objects for ARM/Thumb (#71335)

In practice, all the Windows ARMNT IR objects show the architecture type
Thumb, not ARM.

Most other switch cases for architecture in lld/COFF check for and treat
`arm` and `thumb` equally.




More information about the All-commits mailing list