[all-commits] [llvm/llvm-project] 17226c: [lldb] Make TSan errors fatal when running the tes...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Aug 7 13:20:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17226c976e04856b10e2da34e93c89596660f882
      https://github.com/llvm/llvm-project/commit/17226c976e04856b10e2da34e93c89596660f882
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M lldb/test/API/lit.cfg.py
    M lldb/test/Shell/lit.cfg.py
    M lldb/test/Unit/lit.cfg.py

  Log Message:
  -----------
  [lldb] Make TSan errors fatal when running the test suite

Set the halt_on_error runtime flag to make TSan errors fatal when
running the test suite. For the API tests the environment variables are
set conditionally on whether the TSan is enabled. The Shell and Unit
tests don't have that logic but setting the environment variable is
harmless. For consistency, I've also mirrored the ASAN option
(detect_stack_use_after_return=1) for the Shell tests.

Differential revision: https://reviews.llvm.org/D157152




More information about the All-commits mailing list