Apologies, I don't mean either of those.
This was working on a debug tool for the IBM JVM. When we added the MiniDumpWithFullMemoryInfo to our calls to MiniDumpWriteDump we found it inserted blank ranges to keep the regions in the MINIDUMP_MEMORY_INFO_LIST structure contiguous. I checked a dump just now and it has a 8 Tb region without and access flags inserted in the middle, probably because of a gap in the addresses the libraries were loaded at, but it hasn't added an enormous one at the end.
This is what I see:
0x00000000ffef0000 0x00000000fffeffff 0x0000000000100000 (1,048,576) RW
0x00000000ffff0000 0x00000000ffffffff 0x0000000000010000 (65,536) 0x0000000100000000 0x000007ff7713ffff 0x000007fe77140000 (8,789,500,887,040)
0x000007ff77140000 0x000007ff7714bfff 0x000000000000c000 (49,152) R
I guess I was trying to ask whether the LLDB API would report a region like that or not really but if we use the SBMemoryRegionInfo iteration model it won't really matter - there would be an equivalent blank one there anyway so it doesn't make any difference.
Howard Hellyer IBM Runtime Technologies, IBM Systems |
----- Original message -----
From: Adrian McCarthy <amcca...@google.com>
To: Howard Hellyer/UK/IBM@IBMGB
Cc: Greg Clayton <gclay...@apple.com>, LLDB <lldb-dev@lists.llvm.org>
Subject: Re: [lldb-dev] Listing memory regions in lldb
Date: Fri, May 13, 2016 4:57 PM
Interestingly when I've worked on Windows core dumps before I've seen that MiniDump, with the right flags, will deliberately insert a region in the middle of the memory ranges to represent the unmapped space, on 64 bit it's quite a large section.Are you saying that's a bug in the minidump itself or in LLDB's handling of it? If the latter, please send me the details (e.g., which flags trigger this behavior), and I'll see what I can do about it.Adrian.
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev