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.
2 parents 5554c57 + eec351e commit 381d1cbCopy full SHA for 381d1cb
tools/gnatcov/ada-rts/gnatcov_rts-traces-output.adb
@@ -305,7 +305,20 @@ package body GNATcov_RTS.Traces.Output is
305
begin
306
Write_Header (Output);
307
Write_Info (Output, Info_Program_Name, Program_Name);
308
- Write_Info (Output, Info_Exec_Date, String'(1 .. 8 => 'A'));
+
309
+ -- Write the exec date
310
311
+ declare
312
+ Timestamp : Interfaces.Unsigned_64 := Exec_Date;
313
+ Bytes : Uint8_Array := (1 => 0);
314
+ begin
315
+ for I in 1 .. 8 loop
316
+ Bytes (1) := Interfaces.Unsigned_8 (Timestamp mod 8);
317
+ Timestamp := Shift_Right (Timestamp, 8);
318
+ Write_Bytes (Output, Bytes);
319
+ end loop;
320
+ end;
321
322
Write_Info (Output, Info_User_Data, User_Data);
323
Write_Info (Output, Info_End, "");
324
for I in Buffers_Groups'Range loop
0 commit comments