[PATCH] D115103: Leak Sanitizer port to Windows
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 22 15:02:20 PST 2021
vitalybuka added a comment.
In D115103#3207150 <https://reviews.llvm.org/D115103#3207150>, @clemenswasser wrote:
> @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
Can you try to remove LSAN_BASE and just hardcode use_stacks=0:use_registers=0 ?
If it works don't mind if we do so for the rest (in a separate patch)
CHANGES SINCE LAST ACTION
More information about the cfe-commits