- Add amdhsa prefix to names to allow other tools to use the metadata without collision.
- Make names consistent.
- Simplify structure.
- Change note record ID.
- Switch from YAML to MsgPack format.
- Document metadata assembler directive.
Patch by Tony Tye (https://reviews.llvm.org/D47549 rebased with added description of assembler directive)