[PATCH] D34680: clang-cl crashes with -fprofile-instr-use flag
Vedant Kumar via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 30 14:06:36 PDT 2017
vsk added a comment.
Thanks for the stack trace. Clang shouldn't ever be assigning counters to decls without bodies. As far as I can tell, this has only been happening when the microsoft ABI is in use, which may explain why we don't hit the issue more often. The fix required changing the way we assign and use profile counters (r306883). Give it a try and let us know how it goes.
https://reviews.llvm.org/D34680
More information about the cfe-commits
mailing list