diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 18:07:40 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-30 18:07:40 +0000 |
commit | 86b0db42865a1172a81c22d49dfa5fb8e903e5f8 (patch) | |
tree | aaf162e7d984a0691c8ca4eb358fa5a284abd7a3 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | d654eeb862587ab235d63f63e5f1cdceda9dd47b (diff) | |
download | llvm-86b0db42865a1172a81c22d49dfa5fb8e903e5f8.zip llvm-86b0db42865a1172a81c22d49dfa5fb8e903e5f8.tar.gz llvm-86b0db42865a1172a81c22d49dfa5fb8e903e5f8.tar.bz2 |
DebugInfo: Write new DebugLoc API
Rewrite `DebugLoc` with a cleaner API that reflects its current status
as a wrapper around an `MDLocation` pointer.
- Add accessors/constructors to/from `MDLocation`.
- Simplify construction from `MDNode`.
- Remove unnecessary `LLVMContext` from APIs.
- Drop some API that isn't useful any more.
- Rewrite documentation.
Actually, I've left the old API behind temporarily at the bottom of the
class so that I can update callers in separate commits. I'll remove it
once the callers are updated.
llvm-svn: 233573
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions