[all-commits] [llvm/llvm-project] 7fcc44: [compiler-rt][cmake] Fix clang-cl warnings introdu...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Sat Jan 15 09:06:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fcc44bca4b8d3326982692b30d8b6ea8a91db56
      https://github.com/llvm/llvm-project/commit/7fcc44bca4b8d3326982692b30d8b6ea8a91db56
  Author: Alexandre Ganea <alexandre.ganea at legionlabs.com>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M compiler-rt/lib/asan/CMakeLists.txt
    M compiler-rt/lib/interception/CMakeLists.txt
    M compiler-rt/lib/ubsan/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt][cmake] Fix clang-cl warnings introduced in ae4c643bcdf2

See report in https://reviews.llvm.org/D116872#3245667


  Commit: 5d5d806e7b95d8a99d5628d113d8ecd33b2b289f
      https://github.com/llvm/llvm-project/commit/5d5d806e7b95d8a99d5628d113d8ecd33b2b289f
  Author: Alexandre Ganea <alexandre.ganea at legionlabs.com>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp

  Log Message:
  -----------
  Silence warning with MSVC.

Fixes:

[2587/4073] Building CXX object projects\compiler-rt\lib\sanitizer_common\CMakeFiles\RTSanitizerCommon.x86_64.dir\sanitizer_stoptheworld_win.cpp.obj
D:\git\llvm-project\compiler-rt\lib\sanitizer_common\sanitizer_stoptheworld_win.cpp(125,33): warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned long') and 'int' [-Wsign-compare]
      if (SuspendThread(thread) == -1) {
          ~~~~~~~~~~~~~~~~~~~~~ ^  ~~
1 warning generated.


Compare: https://github.com/llvm/llvm-project/compare/d1675e494411...5d5d806e7b95


More information about the All-commits mailing list