mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
[ASan] Remove one FIXME - re-enable "free-not-malloced" reports on Windows
llvm-svn: 151051
This commit is contained in:
@@ -695,11 +695,6 @@ static void Deallocate(uint8_t *ptr, AsanStackTrace *stack) {
|
||||
Describe((uintptr_t)ptr, 1);
|
||||
ShowStatsAndAbort();
|
||||
} else if (m->chunk_state != CHUNK_ALLOCATED) {
|
||||
if (ASAN_WINDOWS) {
|
||||
// FIXME: On Windows there are a few extra "unknown free()s"
|
||||
// from __endstdio, need investigating.
|
||||
return;
|
||||
}
|
||||
Report("ERROR: AddressSanitizer attempting free on address which was not"
|
||||
" malloc()-ed: %p\n", ptr);
|
||||
stack->PrintStack();
|
||||
|
||||
Reference in New Issue
Block a user