Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite error on functions with attributes #459

Open
john-h-kastner opened this issue Feb 26, 2021 · 0 comments · May be fixed by #466
Open

Rewrite error on functions with attributes #459

john-h-kastner opened this issue Feb 26, 2021 · 0 comments · May be fixed by #466
Labels
bug Something isn't working rewriter

Comments

@john-h-kastner
Copy link
Collaborator

For example in this test case

void foo( const char *fmt, __builtin_ms_va_list argp);
__attribute__((ms_abi)) void bar ( const char *fmt, ...)  {
  __builtin_ms_va_list argp;
  __builtin_ms_va_start(argp, fmt);
  foo(fmt, argp);
  __builtin_ms_va_end(argp);
}

bar becomes (const char *fmt : itype(_Ptr<const char>), ...) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rewriter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant