Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 3 of 3) sorted by relevance

/ndk/sources/cxx-stl/gabi++/include/
Dunwind-arm.h147 static inline uint32_t _Unwind_GetGR( _Unwind_Context* ctx, int reg) { in _Unwind_GetGR() argument
149 _Unwind_VRS_Get(ctx, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); in _Unwind_GetGR()
153 static inline void _Unwind_SetGR(_Unwind_Context* ctx, int reg, uint32_t val) { in _Unwind_SetGR() argument
154 _Unwind_VRS_Set(ctx, _UVRSC_CORE, reg, _UVRSD_UINT32, &val); in _Unwind_SetGR()
157 static inline uint32_t _Unwind_GetIP(_Unwind_Context* ctx) { in _Unwind_GetIP() argument
158 return _Unwind_GetGR(ctx, UNWIND_IP_REG) & ~1; // thumb bit in _Unwind_GetIP()
160 static inline void _Unwind_SetIP(_Unwind_Context* ctx, uint32_t val) { in _Unwind_SetIP() argument
162 uint32_t thumbState = _Unwind_GetGR(ctx, UNWIND_IP_REG) & 1; in _Unwind_SetIP()
163 _Unwind_SetGR(ctx, UNWIND_IP_REG, (val | thumbState)); in _Unwind_SetIP()
/ndk/sources/cxx-stl/gabi++/src/
Dhelper_func_internal.cc365 _Unwind_Context* ctx, in saveDataToBarrierCache() argument
367 exc->barrier_cache.sp = _Unwind_GetGR(ctx, UNWIND_STACK_REG); in saveDataToBarrierCache()
385 _Unwind_Context* ctx, in saveUnexpectedDataToBarrierCache() argument
389 const uint8_t* lsda = (const uint8_t*)_Unwind_GetLanguageSpecificData(ctx); in saveUnexpectedDataToBarrierCache()
395 uintptr_t funcStart = _Unwind_GetRegionStart(ctx); in saveUnexpectedDataToBarrierCache()
497 _Unwind_Context* ctx, in saveDataToBarrierCache() argument
506 _Unwind_Context* ctx, in saveUnexpectedDataToBarrierCache() argument
Dhelper_func_internal.h65 _Unwind_Context* ctx,
76 _Unwind_Context* ctx,