[all-commits] [llvm/llvm-project] 2d2810: [lld-macho] Initial scaffolding for ARM32 support

Jez Ng via All-commits all-commits at lists.llvm.org
Fri Apr 30 13:17:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d28100bf2e427c892305e08a57cdffa9620bf6e
      https://github.com/llvm/llvm-project/commit/2d28100bf2e427c892305e08a57cdffa9620bf6e
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    A lld/MachO/Arch/ARM.cpp
    M lld/MachO/CMakeLists.txt
    M lld/MachO/Driver.cpp
    M lld/MachO/Target.h
    M lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libSystem.tbd
    M lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libc++.tbd
    M lld/test/MachO/Inputs/WatchOS.sdk/usr/lib/libc++abi.tbd
    M lld/test/MachO/header.s

  Log Message:
  -----------
  [lld-macho] Initial scaffolding for ARM32 support

This just parses the `-arch armv7` and emits the right header flags.
The rest will be slowly fleshed out in upcoming diffs.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D101557


  Commit: 05c5363b39980d818324f2b9336319c699701cfe
      https://github.com/llvm/llvm-project/commit/05c5363b39980d818324f2b9336319c699701cfe
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/InputFiles.cpp
    M lld/MachO/SymbolTable.cpp
    M lld/MachO/SymbolTable.h
    M lld/MachO/Symbols.h
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/UnwindInfoSection.cpp
    A lld/test/MachO/weak-def-thumb-conflict.s

  Log Message:
  -----------
  [lld-macho] Parse & emit the N_ARM_THUMB_DEF symbol flag

Eventually we'll use this flag to properly handle bl/blx
opcodes.

Reviewed By: #lld-macho, gkm

Differential Revision: https://reviews.llvm.org/D101558


Compare: https://github.com/llvm/llvm-project/compare/ef89e8ca1cfe...05c5363b3998


More information about the All-commits mailing list