Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 1.23 KB | None | 0 0
  1. private package Ada.Exceptions.Exception_Propagation.Unwind_Exceptions is
  2.  
  3.    type Unwinder_Caches is record
  4.       Reserved_1 : Unwind_Word;
  5.       Reserved_2 : Unwind_Word;
  6.       Reserved_3 : Unwind_Word;
  7.       Reserved_4 : Unwind_Word;
  8.       Reserved_5 : Unwind_Word;
  9.    end record;
  10.  
  11.    type Barrier_Caches is record
  12.       SP          : Unwind_Word;
  13.       Bit_Pattern : array (1 .. 5) of Unwind_Word;
  14.    end record;
  15.  
  16.    type Cleanup_Caches is record
  17.       Bit_Pattern : array (1 .. 4) of Unwind_Word;
  18.    end record;
  19.  
  20.    type Unwind_EHT_Header_Access is access Unwind_Word;
  21.  
  22.    type PR_Caches is record
  23.       Function_Start : Unwind_Word;
  24.       EHT            : Unwind_Eht_Header_Access;
  25.       Additional     : Unwind_Word;
  26.       Reserved_1     : Unwind_Word;
  27.    end record;
  28.  
  29.    type Unwind_Control_Block is record
  30.       Class          : Exception_Class := GNAT_Exception_Class;
  31.       Cleanup        : System.Address  := System.Null_Address;
  32.       Unwinder_Cache : Unwinder_Caches;
  33.       Barrier_Cache  : Barrier_Caches;
  34.       Cleanup_Cache  : Cleanup_Caches;
  35.       PR_Cache       : PR_Caches;
  36.    end record;
  37.  
  38.    type Unwind_Exception renames Unwind_Control_Block;
  39.  
  40. end Ada.Exceptions.Exception_Propagation.Unwind_Exceptions;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement