[ASan/Win] Don't crash when ASAN_OPTIONS have disable_core=1

Reviewed at http://reviews.llvm.org/D3610

llvm-svn: 208070
This commit is contained in:
Timur Iskhodzhanov 2014-05-06 08:21:50 +00:00
parent 06475bf752
commit 7d5c81db0a
2 changed files with 3 additions and 2 deletions

View File

@ -178,7 +178,8 @@ static void ParseFlagsFromString(Flags *f, const char *str) {
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 OSes 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 "

View File

@ -185,7 +185,7 @@ void DumpProcessMap() {
}
void DisableCoreDumper() {
UNIMPLEMENTED();
// Do nothing.
}
void ReExec() {