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

[llvm-cov][MC/DC] "Branch not found in Decisions" when handling variadic macros #92216

Open
whentojump opened this issue May 15, 2024 · 2 comments
Labels

Comments

@whentojump
Copy link
Member

I hit this problem in https://elixir.bootlin.com/linux/v6.1.83/source/kernel/rcu/tasks.h#L1621

A reduced user-space program is:

#define FOO(x, ...) "", ##__VA_ARGS__
#define ZERO 0
int main() { FOO(, 1 && ZERO); }

Compiler explorer link.

Note that despite the same message, this issue should be different than #87000 and with #89869 locally applied I'm still seeing the same problem.

cc @evodius96 @chapuni

@chapuni
Copy link
Contributor

chapuni commented May 15, 2024

Would it crash clang if #89572 is applied?

@whentojump
Copy link
Member Author

I will try it very soon. And in general I love this proposal in #89572! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants