Skip to content
This repository

support for inlined calls #13

Open
rdivacky opened this Issue · 0 comments

1 participant

rdivacky
rdivacky

pathdb should support DW_TAG_inlined_subroutine etc.

simple testcase:

volatile int x, y;

const int inline getFoo() {
x += y;
return 42;
}

const int inline getBar() {
x *= y;
return getFoo();
}

int main() {
x = 7;
y = 3;
printf("foo = %i\n", getBar());
printf("x = %u, y = %u\n", x, y);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.