[PATCH] D115103: Leak Sanitizer port to Windows

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 23 14:44:27 PST 2021


vitalybuka added a comment.

In D115103#3207867 <https://reviews.llvm.org/D115103#3207867>, @clemenswasser wrote:

> @vitalybuka I have now removed all `LSAN_BASE` occurrences.
> However the invocations of the compiled test executables don't seem to work either.
> This doesn't work:
> `// RUN: %env_lsan_opts=use_stacks=0:use_registers=0 not %run %t foo 2>&1 | FileCheck %s --check-prefix=CHECK-do`
> It generates this error:
>
>   [build] $ ":" "RUN: at line 3"
>   [build] $ "env" "LSAN_OPTIONS=:detect_leaks=1:use_stacks=0:use_registers=0" "not" "E:\git\llvm-project\llvm\build\ninja_debug\projects\compiler-rt\test\lsan\X86_64LsanConfig\TestCases\Output\leak_check_at_exit.cpp.tmp.exe" "foo"
>   [build] note: command had no output on stdout or stderr
>   [build] error: command failed with exit status: True

does check-asan work for your setup?


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

https://reviews.llvm.org/D115103



More information about the cfe-commits mailing list