diff options
| author | Jinsong Ji <jji@us.ibm.com> | 2021-05-24 21:32:50 +0000 |
|---|---|---|
| committer | Jinsong Ji <jji@us.ibm.com> | 2021-05-24 21:33:02 +0000 |
| commit | bec6b0225211ac2686e329744882cb87f01d73a5 (patch) | |
| tree | d261c36fc355525160576c15dd01f086d4d8f996 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | fc9248877d07132981f2d598d3684de81d12d0b8 (diff) | |
[compiler-rt][scudo] Fix sign-compare warnings
Fix buildbot failure
https://lab.llvm.org/buildbot/#/builders/57/builds/6542/steps/6/logs/stdio
/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:1629:28:
error: comparison of integers of different signs: 'const unsigned long'
and 'const int' [-Werror,-Wsign-compare]
GTEST_IMPL_CMP_HELPER_(GT, >);
~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:1609:12:
note: expanded from macro 'GTEST_IMPL_CMP_HELPER_'
if (val1 op val2) {\
~~~~ ^ ~~~~
/llvm-project/compiler-rt/lib/scudo/standalone/tests/common_test.cpp:30:3:
note: in instantiation of function template specialization
'testing::internal::CmpHelperGT<unsigned long, int>' requested here
EXPECT_GT(OnStart, 0);
^
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D103029
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
