[libc] Allow target architecture independent configs
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 29 Jun 2021 20:27:28 +0000 (20:27 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Tue, 29 Jun 2021 20:41:28 +0000 (20:41 +0000)
commit58af0d567d88eb5a7eec436886da066308d7a39e
tree5b32de8d63936b02603219f3eb1fc4fb234d0ebc
parent9952d591ccc49cbcbf9c89d5191e6111c44703a6
[libc] Allow target architecture independent configs

Previously, we required entrypoints.txt for every target architecture
supported by a target OS. With this change, we allow architecture
independent config for a target OS. That is, if an architecture specific
entrypoints.txt is missing, then a generic entrypoints.txt for that
target OS will be used.

Reviewed By: caitlyncano

Differential Revision: https://reviews.llvm.org/D105147
libc/CMakeLists.txt