[all-commits] [llvm/llvm-project] 06bc68: [ubsan] nullability-arg: Fix crash on C++ member p...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Mon Sep 28 09:42:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 06bc685fa2400cc28282ab6dd3c917d45bfa662f
      https://github.com/llvm/llvm-project/commit/06bc685fa2400cc28282ab6dd3c917d45bfa662f
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    A clang/test/CodeGenCXX/ubsan-nullability-arg.cpp

  Log Message:
  -----------
  [ubsan] nullability-arg: Fix crash on C++ member pointers

Extend -fsanitize=nullability-arg to handle call sites which accept C++
member pointers.

rdar://62476022

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




More information about the All-commits mailing list