[all-commits] [llvm/llvm-project] 0e27df: [libc] add sprintf size comparison
michaelrj-google via All-commits
all-commits at lists.llvm.org
Fri Aug 12 11:47:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e27dfd56061b584bb192bed0745ee90fc151783
https://github.com/llvm/llvm-project/commit/0e27dfd56061b584bb192bed0745ee90fc151783
Author: Michael Jones <michaelrj at google.com>
Date: 2022-08-12 (Fri, 12 Aug 2022)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
M libc/test/integration/src/CMakeLists.txt
A libc/test/integration/src/stdio/CMakeLists.txt
A libc/test/integration/src/stdio/sprintf_size_test.cpp
Log Message:
-----------
[libc] add sprintf size comparison
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.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D131735
More information about the All-commits
mailing list