[all-commits] [llvm/llvm-project] 56bf96: [CMake] Enable building with UBSAN + clang-cl on w...

goussepi via All-commits all-commits at lists.llvm.org
Tue Jun 13 02:18:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56bf960629cb5accf0584b1aabb1a4d8191249d1
      https://github.com/llvm/llvm-project/commit/56bf960629cb5accf0584b1aabb1a4d8191249d1
  Author: Pierre Gousseau <pierre.gousseau at sony.com>
  Date:   2023-06-13 (Tue, 13 Jun 2023)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/include/llvm/ADT/EpochTracker.h
    M llvm/include/llvm/ADT/SmallPtrSet.h
    M llvm/include/llvm/ADT/StringMap.h
    M llvm/include/llvm/Support/AllocatorBase.h

  Log Message:
  -----------
  [CMake] Enable building with UBSAN + clang-cl on windows.

Currently both ASAN and UBSAN are supported on Windows but only ASAN is enabled in LLVM build system. This patch enables the option to build LLVM with UBSAN on windows.

Tested with clang-cl released in LLVM16.

Submitting on behalf of @dwang.

Reviewed by: andrewng, pgousseau

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




More information about the All-commits mailing list