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

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 00:15:21 PDT 2021


int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: lld/test/MachO/data-in-code.s:34-41
+pushq	%rbp
+movq	%rsp, %rbp
+subq	$16, %rsp
+movl	$0, -4(%rbp)
+movb	$0, %al
+callq	_bar
+addq	$16, %rsp
----------------
most of our tests include just the minimal assembly needed to exercise code paths in the linker, w/o ensuring that the resulting executable actually executes successfully


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103006/new/

https://reviews.llvm.org/D103006



More information about the llvm-commits mailing list