pw_libc: Support llvm-libc

This commit adds build support (initially only gn) for
integrating llvm-libc into pigweeds build.

It adds support for testing llvm-libc functions both
on host and on target. At present, only the function
"abs" has been included, though there are many more
functions ready to be brought in.

Currently there are no dependencies on pw_libc, which
is a static archive which should be put on the linker
search path before libc.a to choose the llvm-libc
implementations first. libc.a will be empty if
dir_pw_third_party_llvm_libc is not defined.

Change-Id: I3e7ccc3d2f0d55e948874371f35062c5e6167fac
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/129470
Original-Reviewed-by: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com>
Original-Reviewed-by: Keir Mierle <keir@google.com>
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/llvm-integration/+/235116
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
4 files changed
tree: 726d74f2221133b48fbaca8cb64ea45b58c12f1e
  1. pw_libc/
  2. third_party/
  3. AUTHORS
  4. CONTRIBUTING.md
  5. LICENSE
  6. OWNERS
  7. README.md
README.md

Pigweed Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Pigweed.