[libc-commits] [PATCH] D76412: [libc] Add a simple x86_64 linux loader.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 18 23:19:31 PDT 2020


sivachandra created this revision.
sivachandra added reviewers: abrachet, phosek.
Herald added subscribers: libc-commits, tschuett, MaskRay, mgorny.
Herald added a project: libc-project.
sivachandra updated this revision to Diff 251281.
sivachandra added a comment.

- Fix a typo in a test
- Add two more tests


This adds a very simple loader. This will be extended to a full loader
in future patches. A utility rule to add unittests has been added to
serve us while we are building out the full loader.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76412

Files:
  libc/CMakeLists.txt
  libc/loader/CMakeLists.txt
  libc/loader/linux/CMakeLists.txt
  libc/loader/linux/x86_64/CMakeLists.txt
  libc/loader/linux/x86_64/start.cpp
  libc/test/CMakeLists.txt
  libc/test/loader/CMakeLists.txt
  libc/test/loader/linux/CMakeLists.txt
  libc/test/loader/linux/args_test.cpp
  libc/test/loader/linux/main_without_args.cpp
  libc/test/loader/linux/main_without_envp.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76412.251281.patch
Type: text/x-patch
Size: 10613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200319/c2224b79/attachment-0001.bin>


More information about the libc-commits mailing list