[libc-commits] [PATCH] D131735: [libc] add sprintf size comparison
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Aug 11 15:51:55 PDT 2022
michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
To accurately measure the size of sprintf in a finished binary, the
easiest method is to simply build a binary with and without sprintf.
This patch adds an integration test that can be built with and without
sprintf, as well as targets to build it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131735
Files:
libc/cmake/modules/LLVMLibCTestRules.cmake
libc/test/integration/src/CMakeLists.txt
libc/test/integration/src/stdio/CMakeLists.txt
libc/test/integration/src/stdio/sprintf_size_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131735.452017.patch
Type: text/x-patch
Size: 5388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220811/c115835f/attachment-0001.bin>
More information about the libc-commits
mailing list