int main(void) {
  printf("The file is %s.\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/gaodacheng/bitcode/refs/heads/master/c/"
         "cpp5/16.12.c");
  printf("The date is %s.\n", "Mar 16 2022");
  printf("The time is %s.\n", "06:04:02");
  printf("The line is %d.\n", 8);
  printf("The version is %d.\n", 1);
  printf("The function is %s.\n", __func__);
  why_me();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeca(%rip),%rdi
lea    0xed4(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
lea    0xf5e(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5c(%rip),%rdi
lea    0xf66(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf60(%rip),%rdi
lea    0xf6e(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <why_me@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xee2(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
lea    0xf6c(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
lea    0xf74(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf6d(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
lea    0xf7c(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
call   1040 <why_me@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [17 x i8] c"The file is %s.\0A\00"
@.str.1 = [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/gaodacheng/bitcode/refs/heads/master/c/cpp5/16.12.c\00"
@.str.2 = [17 x i8] c"The date is %s.\0A\00"
@.str.3 = [12 x i8] c"Mar 16 2022\00"
@.str.4 = [17 x i8] c"The time is %s.\0A\00"
@.str.5 = [9 x i8] c"06:04:02\00"
@.str.6 = [17 x i8] c"The line is %d.\0A\00"
@.str.7 = [20 x i8] c"The version is %d.\0A\00"
@.str.8 = [21 x i8] c"The function is %s.\0A\00"
@__func__.main = [5 x i8] c"main\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([142 x i8], [142 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 8)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 1)
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0))
%8 = call i32 (...) @why_me()
ret i32 0
}

LLVM IR (-O2):
@.str = [17 x i8] c"The file is %s.\0A\00"
@.str.1 = [142 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/gaodacheng/bitcode/refs/heads/master/c/cpp5/16.12.c\00"
@.str.2 = [17 x i8] c"The date is %s.\0A\00"
@.str.3 = [12 x i8] c"Mar 16 2022\00"
@.str.4 = [17 x i8] c"The time is %s.\0A\00"
@.str.5 = [9 x i8] c"06:04:02\00"
@.str.6 = [17 x i8] c"The line is %d.\0A\00"
@.str.7 = [20 x i8] c"The version is %d.\0A\00"
@.str.8 = [21 x i8] c"The function is %s.\0A\00"
@__func__.main = [5 x i8] c"main\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([142 x i8], [142 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 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 ([17 x i8], [17 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 ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 8)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), i32 1)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0))
%7 = tail call i32 (...) @why_me()
ret i32 0
}