Refactor `MemoryBlockDesc`.
authorPat Gavlin <pagavlin@microsoft.com>
Wed, 13 Apr 2016 19:55:47 +0000 (12:55 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Wed, 13 Apr 2016 19:55:47 +0000 (12:55 -0700)
commite4fe372497fe0f01c3073d1e75bfbce9b63a736c
treefecc9c7fd252846c46dc9d8bda9a69c387250a85
parentb39147024c6d313cbe5a8f56e9796c658a0c3ddd
Refactor `MemoryBlockDesc`.

- Encapsulate link management into `MemoryBlockDescList`.
- Replace `MemoryBlockDesc` and its separately-allocated buffer
  with a new type, `MemoryBlock`, that stores the link to the
  next memory block with the buffer itself.

Commit migrated from https://github.com/dotnet/coreclr/commit/0c24ddaa1703805e472c6bf00cba1bcbc5d43e12
src/coreclr/src/gcinfo/dbggcinfoencoder.cpp
src/coreclr/src/gcinfo/gcinfoencoder.cpp
src/coreclr/src/inc/dbggcinfoencoder.h
src/coreclr/src/inc/gcinfoencoder.h