[all-commits] [llvm/llvm-project] bce0c6: Fix ASAN execution for the MLIR Python tests

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat Oct 2 22:36:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bce0c6429ee3994a7376ab9e40d40477ef43cb31
      https://github.com/llvm/llvm-project/commit/bce0c6429ee3994a7376ab9e40d40477ef43cb31
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-10-03 (Sun, 03 Oct 2021)

  Changed paths:
    M mlir/test/lit.cfg.py
    M mlir/test/python/lit.local.cfg

  Log Message:
  -----------
  Fix ASAN execution for the MLIR Python tests

First the leak sanitizer has to be disabled, as even an empty script
leads to leak detection with Python.
Then we need to preload the ASAN runtime, as the main binary (python)
won't be linked against it. This will only work on Linux right now.

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




More information about the All-commits mailing list