Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

support for inlined calls #13

Open
rdivacky opened this Issue Jun 28, 2011 · 0 comments

Comments

Projects
None yet
1 participant

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