[all-commits] [llvm/llvm-project] 936410: Illustrate a redirector using the example of round...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Fri Nov 1 11:06:59 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9364107cf348c7d4a2d05b8906bda6ba384ce6f6
https://github.com/llvm/llvm-project/commit/9364107cf348c7d4a2d05b8906bda6ba384ce6f6
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2019-11-01 (Fri, 01 Nov 2019)
Changed paths:
M libc/cmake/modules/LLVMLibCRules.cmake
M libc/docs/build_system.rst
A libc/docs/redirectors.rst
A libc/docs/redirectors_schematic.svg
M libc/lib/CMakeLists.txt
M libc/src/CMakeLists.txt
A libc/src/math/CMakeLists.txt
A libc/src/math/round/CMakeLists.txt
A libc/src/math/round/round.cpp
A libc/src/math/round/round.h
A libc/src/math/round/round_redirector.cpp
Log Message:
-----------
Illustrate a redirector using the example of round function from math.h.
Setup demonstrated in this patch is only for ELF-ish platforms.
Also note:
1. Use of redirectors is a temporary scheme. They will be removed once
LLVM-libc has implementations for the redirected functions.
2. Redirectors are optional. One can choose to not include them in the
LLVM-libc build for their platform.
3. Even with redirectors used, we want to link to the system libc
dynamically.
Reviewers: dlj, hfinkel, jakehehrlich, phosek, stanshebs, theraven, alexshap
Subscribers: mgorny, libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D69020
More information about the All-commits
mailing list