File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ typedef struct _Py_DebugOffsets
304304        uint64_t  instr_ptr;
305305        uint64_t  localsplus;
306306        uint64_t  owner;
307+         uint64_t  tlbc_index;
307308    } interpreter_frame;
308309
309310    //  Code object offset;
@@ -319,6 +320,7 @@ typedef struct _Py_DebugOffsets
319320        uint64_t  localsplusnames;
320321        uint64_t  localspluskinds;
321322        uint64_t  co_code_adaptive;
323+         uint64_t  co_tlbc;
322324    } code_object;
323325
324326    //  PyObject offset;
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ FrameObject::getCode(
6060{
6161    remote_addr_t  py_code_addr = frame.getField (&py_frame_v::o_code);
6262    if  (manager->versionIsAtLeast (3 , 14 )) {
63-         py_code_addr = py_code_addr & (~1 );
63+         py_code_addr = py_code_addr & (~3 );
6464    }
6565
6666    LOG (DEBUG) << std::hex << std::showbase << " Attempting to construct code object from address " 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments