[PATCH] D103006: [lld][MachO] Add support for LC_DATA_IN_CODE

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 23 23:57:39 PDT 2021


alexshap created this revision.
alexshap created this object with visibility "All Users".
Herald added a reviewer: int3.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
alexshap requested review of this revision.
Herald added a project: LLVM.

Add first bits for emitting LC_DATA_IN_CODE.

Test plan: make check-lld-macho


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103006

Files:
  lld/MachO/InputFiles.cpp
  lld/MachO/InputFiles.h
  lld/MachO/InputSection.h
  lld/MachO/SyntheticSections.cpp
  lld/MachO/SyntheticSections.h
  lld/MachO/Writer.cpp
  lld/test/MachO/data-in-code.s
  lld/test/MachO/headerpad.s
  lld/test/MachO/local-got.s
  lld/test/MachO/x86-64-relocs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103006.347316.patch
Type: text/x-patch
Size: 11866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/0ca15bf7/attachment.bin>


More information about the llvm-commits mailing list