From c259ab3cacc51cfae1d14553df25171f078dc2c8 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Wed, 22 Feb 2012 08:27:32 +0000 Subject: [PATCH] Dump the process memory map if any of the mappings interleaves with the shadow. llvm-svn: 151141 --- compiler-rt/lib/asan/asan_rtl.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/asan/asan_rtl.cc b/compiler-rt/lib/asan/asan_rtl.cc index 48d26e2c8ab8..84129466e1aa 100644 --- a/compiler-rt/lib/asan/asan_rtl.cc +++ b/compiler-rt/lib/asan/asan_rtl.cc @@ -490,6 +490,8 @@ void __asan_init() { } else { Report("Shadow memory range interleaves with an existing memory mapping. " "ASan cannot proceed correctly. ABORTING.\n"); + AsanProcMaps proc_maps; + proc_maps.Dump(); AsanDie(); }