[PATCH] D151511: [CMake] Enable building with UBSAN + clang-cl on windows

Duo Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 12:43:25 PDT 2023


dwang updated this revision to Diff 530056.
dwang added a comment.

Workaround UBSAN false-positive on 0-sized objects with `__declspec(empty_bases)`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151511/new/

https://reviews.llvm.org/D151511

Files:
  llvm/cmake/modules/HandleLLVMOptions.cmake
  llvm/include/llvm/ADT/EpochTracker.h
  llvm/include/llvm/ADT/SmallPtrSet.h
  llvm/include/llvm/ADT/StringMap.h
  llvm/include/llvm/Support/AllocatorBase.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151511.530056.patch
Type: text/x-patch
Size: 5805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/10604a60/attachment.bin>


More information about the llvm-commits mailing list