[libc] Add ALIAS option to add_object_library rule.
authorSiva Chandra Reddy <sivachandra@google.com>
Mon, 6 Mar 2023 19:15:50 +0000 (19:15 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Mon, 6 Mar 2023 22:11:33 +0000 (22:11 +0000)
commit772e37f8930724eaaa496ae62fabb8ae288b4086
tree4972864a99566fbcbd076490815acd64b20e0a05
parent9f8c974f792d9d29387858842f05b86e92b0636c
[libc] Add ALIAS option to add_object_library rule.

This ALIAS option is now used with threads/callonce target.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D145409
libc/cmake/modules/LLVMLibCObjectRules.cmake
libc/src/__support/threads/CMakeLists.txt
libc/src/__support/threads/linux/CMakeLists.txt