[all-commits] [llvm/llvm-project] 2b7a2c: [TSan][Darwin] Handle NULL argument in interceptor

Julian Lettner via All-commits all-commits at lists.llvm.org
Mon Aug 24 11:36:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b7a2cbb15c461380bebed0fc8603a0ef16a8f5d
      https://github.com/llvm/llvm-project/commit/2b7a2cbb15c461380bebed0fc8603a0ef16a8f5d
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_mach_vm.cpp
    M compiler-rt/test/tsan/Darwin/mach_vm_allocate.c

  Log Message:
  -----------
  [TSan][Darwin] Handle NULL argument in interceptor

Handle NULL address argument in the `mach_vm_[de]allocate()`
interceptors and fix test: `Assignment 2` is not valid if we weren't
able to re-allocate memory.

rdar://67680613




More information about the All-commits mailing list