[libc-commits] [PATCH] D82404: [libc] Minimal Darwin support

Thorsten via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jun 23 12:54:11 PDT 2020


tschuett created this revision.
tschuett added reviewers: sivachandra, abrachet.
Herald added subscribers: libc-commits, ecnelises, mgorny.
Herald added a project: libc-project.

This is the minimal copy and paste version to get something running on Darwin.

Note the file platfrom_defs.h.inc. The section name has a ',' because of Mach-O. The objcopy changes are beyond my me.

It stills fails the liniting. It claims that stddef.h and stdint.h are system headers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82404

Files:
  libc/config/CMakeLists.txt
  libc/config/darwin/CMakeLists.txt
  libc/config/darwin/api.td
  libc/config/darwin/platfrom_defs.h.inc
  libc/config/darwin/x86_64/entrypoints.txt
  libc/config/darwin/x86_64/headers.txt
  libc/config/linux/platfrom_defs.h.inc
  libc/src/string/bzero.h
  libc/src/string/memset.h
  libc/src/string/strlen.cpp
  libc/src/string/strlen.h
  libc/test/config/darwin/CmakeLists.txt
  libc/test/config/darwin/x86_64/CMakeLists.txt
  libc/test/config/darwin/x86_64/darwin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82404.272801.patch
Type: text/x-patch
Size: 5940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200623/5aec7571/attachment.bin>


More information about the libc-commits mailing list