[PATCH] D11029: CFI: Get check-cfi passing on Windows.

Peter Collingbourne peter at pcc.me.uk
Wed Jul 8 01:43:23 PDT 2015


pcc added a reviewer: samsonov.
pcc added a subscriber: llvm-commits.

Specifically:

- Start using %expect_crash.

- Provide an implementation of __ubsan::getDynamicTypeInfoFromVtable
  for the Microsoft C++ ABI. This is all that is needed for CFI
  diagnostics; UBSan's -fsanitize=vptr also requires an implementation of
  __ubsan::checkDynamicType.

- Build the sanitizer runtimes against the release version of the C
  runtime, even in debug builds.

- Accommodate demangling differences in tests.

http://reviews.llvm.org/D11029

Files:
  CMakeLists.txt
  lib/ubsan/ubsan_diag.cc
  lib/ubsan/ubsan_diag.h
  lib/ubsan/ubsan_handlers_cxx.cc
  lib/ubsan/ubsan_type_hash.cc
  test/cfi/CMakeLists.txt
  test/cfi/anon-namespace.cpp
  test/cfi/bad-cast.cpp
  test/cfi/multiple-inheritance.cpp
  test/cfi/nvcall.cpp
  test/cfi/overwrite.cpp
  test/cfi/sibling.cpp
  test/cfi/simple-fail.cpp
  test/cfi/vdtor.cpp
  test/lit.common.cfg
  test/ubsan/lit.common.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11029.29247.patch
Type: text/x-patch
Size: 36504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150708/3b2f85c2/attachment.bin>


More information about the llvm-commits mailing list