[PATCH] D99112: [lld-macho] Support -no_function_starts

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 14:41:17 PDT 2021


int3 created this revision.
int3 added reviewers: lld-macho, alexshap.
Herald added a subscriber: dang.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Pretty simple code-wise. Also threw in some refactoring:

- Put the functionStartSection under Writer instead of InStruct, since it doesn't need to be accessed outside of Writer
- Adjusted the test to put all files under the temp dir instead of at the top-level
- Added some CHECK-LABELs to make it clearer where the function starts data is


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99112

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Options.td
  lld/MachO/SyntheticSections.h
  lld/MachO/Writer.cpp
  lld/test/MachO/function-starts.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99112.332427.patch
Type: text/x-patch
Size: 7844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/71e58789/attachment.bin>


More information about the llvm-commits mailing list