main() {
  printf("File : %s\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/hhuseyinpay/Practice-C/refs/heads/master/"
         "random/macros.c");
  printf("Date : %s\n", "Mar 15 2022");
  printf("Time : %s\n", "14:46:20");
  printf("Line : %s\n", 8);
  printf("ANSI : %s\n", 1);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xee9(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
lea    0xf72(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
lea    0xf74(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xeec(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf71(%rip),%rdi
lea    0xf75(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf73(%rip),%rdi
lea    0xf77(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf72(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [11 x i8] c"File : %s\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hhuseyinpay/Practice-C/refs/heads/master/random/macros.c\00"
@.str.2 = [11 x i8] c"Date : %s\0A\00"
@.str.3 = [12 x i8] c"Mar 15 2022\00"
@.str.4 = [11 x i8] c"Time : %s\0A\00"
@.str.5 = [9 x i8] c"14:46:20\00"
@.str.6 = [11 x i8] c"Line : %s\0A\00"
@.str.7 = [11 x i8] c"ANSI : %s\0A\00"
define i32 @main() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 8)
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 1)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"File : %s\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/hhuseyinpay/Practice-C/refs/heads/master/random/macros.c\00"
@.str.2 = [11 x i8] c"Date : %s\0A\00"
@.str.3 = [12 x i8] c"Mar 15 2022\00"
@.str.4 = [11 x i8] c"Time : %s\0A\00"
@.str.5 = [9 x i8] c"14:46:20\00"
@.str.6 = [11 x i8] c"Line : %s\0A\00"
@.str.7 = [11 x i8] c"ANSI : %s\0A\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.6, i64 0, i64 0), i32 8)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 1)
ret i32 0
}