third_party/llvm_builtins: Use LLVM compiler-rt builtins

Enable linking against LLVM compiler-rt builtins. To effectively link
against builtins repo, the following properties need to be set.

`dir_pw_third_party_llvm_builtins` - Directory where the LLVM
compiler-rt repo is checked out.

`pw_third_party_llvm_builtins_TARGET_BUILTINS` - Architecture specific
pw_source_set created from builtins source files. e.g. arm_builtins. If
this property is not set, no architecture specific builtin functions
will be included from the repo.

`pw_third_party_llvm_builtins_ignore_list` - Optional list of files to
be excluded from builtins repo. The ignore list can also contain the
files to be ignored from architecture specific pw_source_set.

Bugs: b/316936782
Docs: N/A
Change-Id: Ib175ceb48b61e03f46b6bdb1575466448c834905
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186232
Original-Reviewed-by: Armando Montanez <amontanez@google.com>
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/llvm-integration/+/235136
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Commit-Queue: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
2 files changed
tree: 8417d06507e258746b9288386cbdd77eb2de50d3
  1. pw_libc/
  2. pw_libcxx/
  3. third_party/
  4. AUTHORS
  5. CONTRIBUTING.md
  6. LICENSE
  7. OWNERS
  8. 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.