commit | dc7b2869ab601e074b89650fe3ffc16d3da5823a | [log] [tgz] |
---|---|---|
author | Frederic Riss <friss@apple.com> | Wed Jan 28 22:15:07 2015 +0000 |
committer | Frederic Riss <friss@apple.com> | Wed Jan 28 22:15:07 2015 +0000 |
tree | dc0f84b453769ea78b5aafed02d99a0bd6b1ab0e | |
parent | d26a1e5060dcf92c8508651526381a7309ab750d [diff] |
Add DWARFUnit::getNumDIEs() and getDIEIndex() Parsed DIEs are stored in a vector and that makes it easy to get their indices. Having easy access to a DIE's index makes it possible to use arrays or vectors to efficiently store/access DIE related information. There's no test for that new functionality (I don't see how to test it standalone), but it'll be used in a subsequent dsymutil commit. llvm-svn: 227381