MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / allocate

Function allocate

testdata/memory/remapped_text.c:22–25  ·  view source on GitHub ↗

Only touches its arguments, so it runs unchanged from either copy.

Source from the content-addressed store, hash-verified

20
21// Only touches its arguments, so it runs unchanged from either copy.
22__attribute__((noinline, optimize("no-optimize-sibling-calls"))) void *
23allocate(alloc_fn alloc, size_t size) {
24 return alloc(size);
25}
26
27int main(void) {
28 char exe[PATH_MAX];

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected