Finds min of (strlen(S1), strlen(S2)). Needed because one of these strings may actually be non-zero terminated.
| 402 | // Finds min of (strlen(S1), strlen(S2)). |
| 403 | // Needed because one of these strings may actually be non-zero terminated. |
| 404 | ATTRIBUTE_NO_SANITIZE_MEMORY |
| 405 | static size_t InternalStrnlen2(const char *S1, const char *S2) { |
| 406 | size_t Len = 0; |
| 407 | for (; S1[Len] && S2[Len]; Len++) {} |
| 408 | return Len; |
| 409 | } |
| 410 | |
| 411 | void TracePC::ClearInlineCounters() { |
| 412 | IterateCounterRegions([](const Module::Region &R){ |
no outgoing calls
no test coverage detected