[benchmark] Cherrypick fix for MinGW/ARM from upstream
authorMartin Storsjo <martin@martin.st>
Wed, 19 Sep 2018 14:30:45 +0000 (14:30 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 19 Sep 2018 14:30:45 +0000 (14:30 +0000)
commit023dfa5716326449662059516ddff2ed459526a1
tree205d851061709fcee251d325355b77017e3edc2b
parentf50023d37c19eefc45ec15ce184cc7e057207d57
[benchmark] Cherrypick fix for MinGW/ARM from upstream

This fixes building for Windows on ARM, with MinGW headers.
(Building for Windows on ARM with Windows SDK still is unsupported
by the benchmark library.)

Differential Revision: https://reviews.llvm.org/D52262

llvm-svn: 342549
llvm/utils/benchmark/README.LLVM
llvm/utils/benchmark/src/cycleclock.h
llvm/utils/benchmark/src/internal_macros.h