[PATCH] D115103: Leak Sanitizer port to Windows

Clemens Wasser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 22 14:27:30 PST 2021


clemenswasser added a comment.

@vitalybuka could you or someone else help me get the lsan tests running on Windows?
For example lets look at `compiler-rt\test\lsan\TestCases\leak_check_at_exit.cpp` (and basically all other tests, this serves as an easy example)
I imagine that the following defines a variable called `LSAN_BASE` :
`// RUN: LSAN_BASE="use_stacks=0:use_registers=0"`
This doesn't seem to work on Windows.
It gives the following error message:

  [build] $ ":" "RUN: at line 2"
  [build] $ "LSAN_BASE=use_stacks=0:use_registers=0"
  [build] # command stderr:
  [build] 'LSAN_BASE=use_stacks=0:use_registers=0': command not found


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115103/new/

https://reviews.llvm.org/D115103



More information about the cfe-commits mailing list