[all-commits] [llvm/llvm-project] 30846d: Guard copy of std::function to llvm::function_ref ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Apr 12 00:44:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30846d2916a604c5746d0a421b913ea3729c0d12
      https://github.com/llvm/llvm-project/commit/30846d2916a604c5746d0a421b913ea3729c0d12
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M mlir/lib/ExecutionEngine/JitRunner.cpp

  Log Message:
  -----------
  Guard copy of std::function to llvm::function_ref (fix crash)

This is a footgun: assigning a null std::function to a function_ref
does not yield a null function_ref...




More information about the All-commits mailing list