diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 02:50:07 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-14 02:50:07 +0000 |
commit | 5f88ba1d5d8c667d6b7d570ee267ea2a86f4a86a (patch) | |
tree | 7010c16392abe78e064ac1fcc9c9bf411c10cce0 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | e75e50c045aa815a268a6d86de620aa484a0f774 (diff) | |
download | bcm5719-llvm-5f88ba1d5d8c667d6b7d570ee267ea2a86f4a86a.tar.gz bcm5719-llvm-5f88ba1d5d8c667d6b7d570ee267ea2a86f4a86a.zip |
DebugInfo: Add MDLexicalBlockBase::getLine(), etc.
Add a few functions from `DILexicalBlock` to `MDLexicalBlockBase`,
leaving `DILexicalBlock` a simple wrapper.
IMO, the new functions (`getLine()` and `getColumn()`) don't really
belong in the base class, but to simplify transitioning old code it
seems like the right incremental step. I've explicitly deleted them in
`MDLexicalBlockFile`, and eventually the callers should be updated to
downcast to `MDLexicalBlock` directly and the forwarding functions
removed.
llvm-svn: 234842
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions