aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
diff options
context:
space:
mode:
authorRaman Tenneti <rtenneti@google.com>2021-03-31 13:56:41 -0700
committerRaman Tenneti <rtenneti@google.com>2021-05-03 17:15:00 -0700
commita72499e47537c02a33d7c1c2e512d0b4a0ecbb89 (patch)
tree7533edde5f6814467507ec6166abbc28d98de6df /lldb/source/Commands/CommandObjectWatchpointCommand.cpp
parent47ee47e1e8916a58c9c2e4b639700ddb0d534e93 (diff)
downloadllvm-a72499e47537c02a33d7c1c2e512d0b4a0ecbb89.zip
llvm-a72499e47537c02a33d7c1c2e512d0b4a0ecbb89.tar.gz
llvm-a72499e47537c02a33d7c1c2e512d0b4a0ecbb89.tar.bz2
[libc] Introduce asctime, asctime_r to LLVM libc
[libc] Introduce asctime, asctime_r to LLVM libc asctime and asctime_r share the same common code. They call asctime_internal a static inline function. asctime uses snprintf to return the string representation in a buffer. It uses the following format (26 characters is the buffer size) as per 7.27.3.1 section in http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2478.pdf. The buf parameter for asctime_r shall point to a buffer of at least 26 bytes. snprintf(buf, 26, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n",...) Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D99686
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions