[ dwarfdump ] Add symbolic dump of known DWARF attribute values.
aprantl at apple.com
Wed Sep 3 11:57:11 PDT 2014
> On Sep 3, 2014, at 11:52 AM, Frédéric Riss <friss at apple.com> wrote:
> This patch introduces symbolic dump of all the DWARF standard values (defined in Dwarf.h). It requires the previous DWARFFormValue accessor patch. The fixed accessibility test shows that it’s much easier to check that the test is actually correct, rather than having to cross-check with the enumerator value.
If you look at lib/Support/Dwarf.cpp, there is already a similar switch table for converting all the attribute names. We should probably only have one such implementation.
More information about the llvm-commits