[PATCH] Move GOTPass and StubsPass from Core to MachO

kledzik at apple.com kledzik at apple.com
Tue Jul 8 14:56:13 PDT 2014


Hi shankarke, t.p.northover, Bigcheese, ruiu,

When I originally wrote the GOT and Stubs Passes I had hoped
they were generic enough to be usable by all platforms.  But ELF
is using private Passes to create PLT entries and I don't think
COFF needs these Passes.  I'd plan to change the interface to these
Passes to make it easier to add architectures in mach-o.  As
a first step, I'd like to move these Passes out of "Core" and make
them mach-o specific.

http://reviews.llvm.org/D4426

Files:
  include/lld/Core/Pass.h
  lib/Passes/CMakeLists.txt
  lib/Passes/GOTPass.cpp
  lib/Passes/StubsPass.cpp
  lib/ReaderWriter/CoreLinkingContext.cpp
  lib/ReaderWriter/MachO/CMakeLists.txt
  lib/ReaderWriter/MachO/GOTPass.cpp
  lib/ReaderWriter/MachO/GOTPass.hpp
  lib/ReaderWriter/MachO/MachOPasses.h
  lib/ReaderWriter/MachO/StubsPass.cpp
  lib/ReaderWriter/MachO/StubsPass.hpp
  test/core/pass-got-basic.objtxt
  test/core/pass-stubs-basic.objtxt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4426.11173.patch
Type: text/x-patch
Size: 15731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140708/d33c9cad/attachment.bin>


More information about the llvm-commits mailing list