We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf74914 commit 606fe97Copy full SHA for 606fe97
tools/gnatcov/ada-rts/gnatcov_rts-traces-output.adb
@@ -310,13 +310,16 @@ package body GNATcov_RTS.Traces.Output is
310
311
declare
312
Timestamp : Interfaces.Unsigned_64 := Exec_Date;
313
- Bytes : Uint8_Array := (1 => 0);
+ Bytes : Uint8_Array (1 .. 8);
314
+ Bytes_Str : String (1 .. 8);
315
+ for Bytes_Str'Address use Bytes'Address;
316
+ pragma Import (Ada, Bytes_Str);
317
begin
318
for I in 1 .. 8 loop
- Bytes (1) := Interfaces.Unsigned_8 (Timestamp mod 8);
319
+ Bytes (I) := Interfaces.Unsigned_8 (Timestamp mod 8);
320
Timestamp := Shift_Right (Timestamp, 8);
- Write_Bytes (Output, Bytes);
321
end loop;
322
+ Write_Info (Output, Info_Exec_Date, Bytes_Str);
323
end;
324
325
Write_Info (Output, Info_User_Data, User_Data);
0 commit comments