[all-commits] [llvm/llvm-project] 7dcdba: [libc] add malloc funcs as external entrypoints
michaelrj-google via All-commits
all-commits at lists.llvm.org
Wed Oct 27 10:21:17 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7dcdbabb3b1501b90a51b36e8e4f4667b6902b8b
https://github.com/llvm/llvm-project/commit/7dcdbabb3b1501b90a51b36e8e4f4667b6902b8b
Author: Michael Jones <michaelrj at google.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M libc/cmake/modules/LLVMLibCLibraryRules.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
M libc/config/linux/x86_64/entrypoints.txt
M libc/lib/CMakeLists.txt
M libc/spec/stdc.td
M libc/src/stdlib/CMakeLists.txt
Log Message:
-----------
[libc] add malloc funcs as external entrypoints
malloc, calloc, realloc, and free are all functions that other libc
functions depend on, but are pulled from external sources, instead of
having an internal implementation. This patch adds a way to include
functions like that as entrypoints in the list of external entrypoints,
and includes the malloc functions using this new path.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D112104
Commit: 65bb6593e57412e50eb9cd536e8c54a3442cb986
https://github.com/llvm/llvm-project/commit/65bb6593e57412e50eb9cd536e8c54a3442cb986
Author: Michael Jones <michaelrj at google.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/string/CMakeLists.txt
A libc/src/string/strdup.cpp
A libc/src/string/strdup.h
M libc/test/src/string/CMakeLists.txt
A libc/test/src/string/strdup_test.cpp
Log Message:
-----------
[libc] add strdup implementation
Add an implementation for strdup.
Reviewed By: lntue, sivachandra
Differential Revision: https://reviews.llvm.org/D111584
Compare: https://github.com/llvm/llvm-project/compare/6c9f207826ef...65bb6593e574
More information about the All-commits
mailing list