mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 21:08:40 +00:00
pass over the make RDI library
- Handle type layout in the library so converts simply define type graph and let the library handle DAG layout. - Changed location baking. For now the library waits for scope, procs, global vars, and thread vars steps to serially finish because of common dependency on location sections, we need to parallel for each step. - Changed encoded offset size for RDI_EvalOp_FrameOff to 8 bytes (1 byte is not enough to cover all cases) - Added frame base location to RDI_Procedure (WASM encodes frame base as an index into a global array and so we have to resolve the base at runtime).
This commit is contained in:
@@ -970,6 +970,8 @@ X(RDI_LinkFlags, link_flags)\
|
||||
X(RDI_U32, type_idx)\
|
||||
X(RDI_U32, root_scope_idx)\
|
||||
X(RDI_U32, container_idx)\
|
||||
X(RDI_U32, frame_base_location_first)\
|
||||
X(RDI_U32, frame_base_location_opl)\
|
||||
|
||||
#define RDI_Scope_XList \
|
||||
X(RDI_U32, proc_idx)\
|
||||
@@ -1397,6 +1399,8 @@ RDI_LinkFlags link_flags;
|
||||
RDI_U32 type_idx;
|
||||
RDI_U32 root_scope_idx;
|
||||
RDI_U32 container_idx;
|
||||
RDI_U32 frame_base_location_first;
|
||||
RDI_U32 frame_base_location_opl;
|
||||
};
|
||||
|
||||
typedef struct RDI_Scope RDI_Scope;
|
||||
|
||||
Reference in New Issue
Block a user