diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-12 02:24:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-12 02:24:04 +0000 |
commit | efc403b91ba921f56ce9277899ca5e797b78b178 (patch) | |
tree | 937673355f52ca771c1c9f0bed0666d1d8fc1c15 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | e77e215469691fc223e9dd01b40c3383db90e5ed (diff) | |
download | llvm-efc403b91ba921f56ce9277899ca5e797b78b178.zip llvm-efc403b91ba921f56ce9277899ca5e797b78b178.tar.gz llvm-efc403b91ba921f56ce9277899ca5e797b78b178.tar.bz2 |
Use dwarf::Tag rather than unsigned for DIE::Tag to make debugging easier.
Nice to be able to just print out the Tag and have the debugger print
dwarf::DW_TAG_subprogram or whatever, rather than an int.
It's a bit finicky (for example DIDescriptor::getTag still returns
unsigned) because some places still handle real dwarf tags + our fake
tags (one day we'll remove the fake tags, hopefully).
llvm-svn: 206098
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions