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.

554 B
Raw Blame
// Test binary with inlined functions for DWARF inline expansion testing.

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

__attribute__((always_inline))
inline void inner_function(void) {
    // Line 12
    inlined_leaf();    // inlined_leaf gets inlined here
}

void outer_function(void) {
    // Line 17
    inner_function();  // both layers get inlined here
}

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