Add python tool to dump and construct header maps

Description

Add python tool to dump and construct header maps

Header maps are binary files used by Xcode, which are used to map
header names or paths to other locations. Clang has support for
those since its inception, but there's not a lot of header map
testing around.

Since it's a binary format, testing becomes pretty much brittle
and its hard to even know what's inside if you don't have the
appropriate tools.

Add a python based tool that allows creating and dumping header
maps based on a json description of those. While here, rewrite
tests to use the tool and remove the binary files from the tree.

This tool was initially written by Daniel Dunbar.

Differential Revision: https://reviews.llvm.org/D46485

rdar://problem/39994722

Details

Committed
brunoJun 20 2018, 2:16 PM
Differential Revision
D46485: Add python tool to dump and construct header maps
Parents
rL335176: [Dominators] Simplify child lists and make them deterministic
Branches
Unknown
Tags
Unknown