MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / LLVM_LIBC_FUNCTION

Function LLVM_LIBC_FUNCTION

system/lib/llvm-libc/src/string/memcmp.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace LIBC_NAMESPACE_DECL {
17
18LLVM_LIBC_FUNCTION(int, memcmp,
19 (const void *lhs, const void *rhs, size_t count)) {
20 if (count) {
21 LIBC_CRASH_ON_NULLPTR(lhs);
22 LIBC_CRASH_ON_NULLPTR(rhs);
23 }
24 return inline_memcmp(lhs, rhs, count);
25}
26
27} // namespace LIBC_NAMESPACE_DECL

Callers

nothing calls this directly

Calls 1

inline_memcmpFunction · 0.85

Tested by

no test coverage detected