[all-commits] [llvm/llvm-project] c71418: [libc] suppress more clang-cl warnings (#117718)

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Tue Nov 26 12:16:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c71418574f1bb9e4678428901775c8b633cded09
      https://github.com/llvm/llvm-project/commit/c71418574f1bb9e4678428901775c8b633cded09
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2024-11-26 (Tue, 26 Nov 2024)

  Changed paths:
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/complex/generic/CMakeLists.txt
    M libc/src/pthread/CMakeLists.txt
    M libc/src/setjmp/riscv/CMakeLists.txt
    M libc/src/setjmp/x86_64/CMakeLists.txt
    M libc/src/signal/linux/CMakeLists.txt
    M libc/src/stdfix/CMakeLists.txt
    M libc/src/string/CMakeLists.txt
    M libc/src/threads/CMakeLists.txt
    M libc/test/src/math/smoke/LdExpTest.h

  Log Message:
  -----------
  [libc] suppress more clang-cl warnings (#117718)

- migrate more `-O3` to `${libc_opt_high_flag}`
- workaround a issue with `LLP64` in test. The overflow testing is
guarded by a constexpr but the literal overflow itself will still
trigger warnings.

Notice that for math smoke test, for some reasons, the
`${libc_opt_high_flag}` will be passed into `lld-link` which confuses
the linker so there are still some warnings leftover there. I can
investigate more when I have time.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list