[x86/Linux] Do NOT use pXXX fields (#9121)
authorJonghyun Park <parjong@gmail.com>
Thu, 2 Feb 2017 09:41:46 +0000 (18:41 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 2 Feb 2017 09:41:46 +0000 (10:41 +0100)
commit009c70f81d2899848ea254fd39969de91fd33519
treecf727ddb11225065815d12c30fae91362b0a9c9f
parentef36ea764e445c2c0665784749d1fd48ecd657c8
[x86/Linux] Do NOT use pXXX fields (#9121)

* [x86/Linux] Do NOT use pXXX fields

* Fix x86/Windows build error

* Fix another x86/Windows build error

* Fix typo

* Do NOT trash EBP

* Reflect the original semantics of EHContext::UpdateFrame

* Unify ReadXXX/LocateXXX into GetXXXLocation, and RestoreXXX/TrashXXX into SetXXXLocation

* Revert the order of pXXX fields

* Revise cgenx86.cpp

* Revert unnecessary changes

* Remove direct accesses to CALLEE_SAVED_REGISTERS_TAG

* Do NOT update pCurrentContext inside SetXXXLocation

* Update RegPtr via offset

* Unify REG_METHODS (and revise UpdateRegDisplay methods accordingly)

* Revise per feedback

* Fix x86/Windows build error
13 files changed:
src/debug/daccess/dacdbiimplstackwalk.cpp
src/debug/ee/debugger.inl
src/debug/ee/i386/x86walker.cpp
src/debug/shared/i386/primitives.cpp
src/inc/regdisp.h
src/pal/inc/pal.h
src/unwinder/i386/unwinder_i386.cpp
src/vm/eetwain.cpp
src/vm/frames.cpp
src/vm/gccover.cpp
src/vm/i386/cgencpu.h
src/vm/i386/cgenx86.cpp
src/vm/proftoeeinterfaceimpl.cpp