[Openmp-commits] [PATCH] D112156: [OpenMP] Ensure broken assumptions print once, not thousands of times.
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Jan 27 13:19:45 PST 2022
jdoerfert added a comment.
In D112156#3277368 <https://reviews.llvm.org/D112156#3277368>, @JonChesterfield wrote:
> Counter is per-tu and this is defined and used in a header. What happens if it's used in two translation units? Instantiations collide, linker picks one, we miss an output?
We can replace counter with an enum if we want more control.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112156/new/
https://reviews.llvm.org/D112156
More information about the Openmp-commits
mailing list