TODO: investigate the performance of this function. There might be potential for compiler optimization.
| 18 | // TODO: investigate the performance of this function. |
| 19 | // There might be potential for compiler optimization. |
| 20 | LLVM_LIBC_FUNCTION(size_t, strlen, (const char *src)) { |
| 21 | LIBC_CRASH_ON_NULLPTR(src); |
| 22 | return internal::string_length(src); |
| 23 | } |
| 24 | |
| 25 | } // namespace LIBC_NAMESPACE_DECL |
nothing calls this directly
no test coverage detected