Don't use a function-scope static varaibles in
authorJason Molenda <jmolenda@apple.com>
Fri, 19 Jul 2013 04:39:22 +0000 (04:39 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 19 Jul 2013 04:39:22 +0000 (04:39 +0000)
commite6ca2ee6b82d86ef68914de6252fbf2ddc4d47f8
tree44acd1cb2fa2cf89c34c622486d50d358c631308
parent64b29d616b5171f4d8b2e1d07b63d8098506e3cb
Don't use a function-scope static varaibles in
RegisterContextLLDB::SavedLocationForRegister to cache the pc and
sp register numbers -- if lldb is debugging multiple Targets of
different architectures, this will be incorrect.  If these were
to be cached anywhere, it would have to be up in the Target.

llvm-svn: 186651
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp