aboutsummaryrefslogtreecommitdiff
path: root/libc/loader
AgeCommit message (Collapse)AuthorFilesLines
2020-08-07[libc] Setup TLS in x86_64 loader.Siva Chandra Reddy2-2/+92
The new code added is still very x86_64 specific. AArch64 support will be added very soon and refactoring of the loader code will be done as part of the patches adding it. Reviewed By: asteinhauser Differential Revision: https://reviews.llvm.org/D82700
2020-06-09[libc] Skip entrypoints not present in the entrypoints list.Siva Chandra Reddy1-0/+5
Summary: If a test depends on a skipped entrypoint, then the test is also skipped. This setup will be useful as we gradually add support for more operating systems and target architectures. Reviewers: asteinhauser Differential Revision: https://reviews.llvm.org/D81489
2020-04-21[libc][Take 2] Propagate entrypoint deps to downstream targets.Siva Chandra Reddy1-8/+10
This reverts commit a8086ba4ac85152d8407630e56e9ee5c8b46a214. Setting couple of target properties to an empty string was missed in the previous commit.
2020-04-21[libc] Revert "Propagate entrypoint deps to downstream targets."Siva Chandra Reddy1-10/+8
This reverts commit 20cb440ea210597bf223505604bb5f2220a067c6 as the target llvmlibc seems to be failing on the bots.
2020-04-21[libc] Propagate entrypoint deps to downstream targets.Siva Chandra Reddy1-8/+10
Deps are recrusively evaluated at the place they are needed. With this change, one does not have to list recursive deps of entrypoints when listing test targets. One will still have to explicitly list all entrypoint objects when setting up an "add_entrypoint_library" target. Reviewers: abrachet Differential Revision: https://reviews.llvm.org/D78537
2020-04-10[libc] Add fully-qualified target names.Siva Chandra Reddy2-9/+39
Only targets setup by the special LLVM libc rules now have fully qualified names. The naming style is similar to fully qualified names in Python. Reviewers: abrachet, PaulkaToast, phosek Differential Revision: https://reviews.llvm.org/D77340
2020-04-08[libc][NFC] Make all top of file comments consistent.Paula Toth1-1/+1
Summary: Made all header files consistent based of this documentation: https://llvm.org/docs/CodingStandards.html#file-headers. And did the same for all source files top of file comments. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D77533
2020-03-28[libc] Extend add_object rule to handle helper object libraries.Siva Chandra Reddy1-3/+3
The rule is now called add_object_library. Reviewers: abrachet Differential Revision: https://reviews.llvm.org/D76826
2020-03-25[libc] Add a simple x86_64 linux loader.Siva Chandra Reddy4-0/+113
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. Reviewers: abrachet, phosek Differential Revision: https://reviews.llvm.org/D76412