Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

485 B
Raw Blame
// Test binary with inlined functions for DWARF expansion testing

__attribute__((always_inline))
static inline void inlined_leaf(void) {
    // Line 4 - this is always inlined into its caller
    volatile int x = 99;
    (void)x;
}

void inner_function(void) {
    // Line 10
    inlined_leaf();    // Line 11 - inlined_leaf gets inlined here
}

void outer_function(void) {
    // Line 15
    inner_function();
}

int main(void) {
    // Line 20
    outer_function();
    return 0;
}