Add a reference table implementation.

This is suitable for pinned array references and the like.

I've also brought in some of the human-readable type printing stuff
for the benefit of the reference table dumping code.

This patch includes tests, but doesn't yet wire anything up.

Change-Id: Iaf6066201bbd254e033dee4fd0b8dfd0bc17afa9
7 files changed
tree: 3538d83b1bdb862d657a93aa894ad74fc6ec9c68
  1. build/
  2. src/
  3. tools/
  4. Android.mk