commit | 698e94ad258b90094d42dd5fcc60749390d6c64b | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Wed Jun 27 20:23:09 2012 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Wed Jun 27 20:23:09 2012 +0000 |
tree | 214b969c1199c66bdbd63722f6c5f8ff67935578 | |
parent | ad50280c6bbf2c8357e78e5efe8b804c15a711cb [diff] |
Modify the ranges_access() helper function to be able to lookup the address range in a block given an address. Since blocks can have multiple discontiguous ranges, it helps to be able to get the current address range for the current block in a frame. This can be used in code like: curr_block_range = lldb.frame.block.range[lldb.frame.addr] git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@159289 91177308-0d34-0410-b5e6-96231b3b80d8