[libcxx-commits] [PATCH] D69314: Bug fix for PR#43703

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 22 13:00:43 PST 2020


rprichard added subscribers: jmgao, danalbert, rprichard.
rprichard added a comment.

I tested this patch, and it appears to fix the overflow problem.

(FWIW, I tested using https://gist.github.com/rprichard/bcff3b3fb0451207dc9f31ccbab938df on Wine and on Windows 10. For both targets, the performance counter frequency was 10MHz, so `counter.QuadPart * nano::den` had previously wrapped around about every 1845 seconds.)


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69314/new/

https://reviews.llvm.org/D69314





More information about the libcxx-commits mailing list