diff options
author | Michał Górny <mgorny@moritz.systems> | 2021-10-05 14:16:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@moritz.systems> | 2021-10-07 16:07:04 +0200 |
commit | ecfab0b6f581c69b3e3e8b230f97a84f317bbec2 (patch) | |
tree | fffd3f6d618abc37cfffa1e14db072c9d0de2876 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | bd8741f31dc35ac462fc17b2b489638c48075377 (diff) | |
download | llvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.zip llvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.tar.gz llvm-ecfab0b6f581c69b3e3e8b230f97a84f317bbec2.tar.bz2 |
[lldb] [DynamicRegisterInfo] Support iterating over registers()
Add DynamicRegisterInfo::registers() method that returns
llvm::iterator_range<> over RegisterInfos. This is a convenient
replacement for GetNumRegisters() + GetRegisterInfoAtIndex().
Differential Revision: https://reviews.llvm.org/D111136
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions