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
Loading
Please register or sign in to comment