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