[PATCH] [ASan/Win] Don't crash when ASAN_OPTIONS have disable_core=1
Kostya Serebryany
kcc at google.com
Tue May 6 01:26:30 PDT 2014
LGTM
On Mon, May 5, 2014 at 7:57 PM, Timur Iskhodzhanov <timurrrr at google.com>wrote:
> Hi kcc,
>
> http://reviews.llvm.org/D3610
>
> Files:
> lib/asan/asan_rtl.cc
> lib/sanitizer_common/sanitizer_win.cc
>
> Index: lib/asan/asan_rtl.cc
> ===================================================================
> --- lib/asan/asan_rtl.cc
> +++ lib/asan/asan_rtl.cc
> @@ -178,7 +178,8 @@
>
> ParseFlag(str, &f->disable_core, "disable_core",
> "Disable core dumping. By default, disable_core=1 on 64-bit to
> avoid "
> - "dumping a 16T+ core file.");
> + "dumping a 16T+ core file. "
> + "Ignored on architectures that don't dump core by default.");
>
> ParseFlag(str, &f->allow_reexec, "allow_reexec",
> "Allow the tool to re-exec the program. This may interfere badly
> with "
> Index: lib/sanitizer_common/sanitizer_win.cc
> ===================================================================
> --- lib/sanitizer_common/sanitizer_win.cc
> +++ lib/sanitizer_common/sanitizer_win.cc
> @@ -185,7 +185,7 @@
> }
>
> void DisableCoreDumper() {
> - UNIMPLEMENTED();
> + // Do nothing.
> }
>
> void ReExec() {
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140506/4b60dfee/attachment.html>
More information about the llvm-commits
mailing list