[all-commits] [llvm/llvm-project] 6231ba: [Orc] Drop arch check in the DebugObjectManagerPlu...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Fri Mar 31 03:59:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6231ba0eed7898020fab6393b2792bbfaa175efd
      https://github.com/llvm/llvm-project/commit/6231ba0eed7898020fab6393b2792bbfaa175efd
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp

  Log Message:
  -----------
  [Orc] Drop arch check in the DebugObjectManagerPlugin for ELF

Tested this with the new AArch32 backend on armv7l and it works without issues in GDB. The size of the load-address field is only 32-bit here, but we implicitly account for it by writing a ELFT::uint which is:
https://github.com/llvm/llvm-project/blob/release/16.x/llvm/include/llvm/Object/ELFTypes.h#L57

So, instead of adding a newly supported machine type, let's just drop this restriction althogether.




More information about the All-commits mailing list