commit | 448b7616427d13d8ba0df57101a22e7c7d1af0be | [log] [tgz] |
---|---|---|
author | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | Wed Jun 05 14:12:43 2013 +0000 |
committer | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | Wed Jun 05 14:12:43 2013 +0000 |
tree | 4f0efd8c36352406254eaf59acccb1bc8cb5f524 | |
parent | 51e60bf97e1fa4683d2fe296c8e0ce58a42c0b94 [diff] |
Use std::vector for the array of RegisterInfo structs that describe the register context. - Ensures that this container is populated once for the lifetime of lldb --- In particular, static methods can query this data even after the first RegisterContext has been destroyed. - Uses a singleton function to avoid global constructors. Thanks to Greg Clayton for the suggestion! git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@183313 91177308-0d34-0410-b5e6-96231b3b80d8