int main() {
  printf("This file is \t%s\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/urmyfaith/roadofios/refs/heads/master/"
         "diary/solveoutlines/do_on_class/week2/week2_mulit_file_complie.c");
  printf("The date is \t%s\n", "Mar 17 2022");
  printf("The time is \t%s\n", "23:37:05");
  printf("This funciton is \t%s\n", __func__);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
lea    0xee5(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf98(%rip),%rdi
lea    0xfa2(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa0(%rip),%rdi
lea    0xfaa(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
lea    0xfb4(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xef3(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xfa6(%rip),%rdi
lea    0xfb0(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xfae(%rip),%rdi
lea    0xfb8(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xfb3(%rip),%rdi
lea    0xfc2(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"This file is \09%s\0A\00"
@.str.1 = [193 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/urmyfaith/roadofios/refs/heads/master/diary/solveoutlines/do_on_class/week2/week2_mulit_file_complie.c\00"
@.str.2 = [17 x i8] c"The date is \09%s\0A\00"
@.str.3 = [12 x i8] c"Mar 17 2022\00"
@.str.4 = [17 x i8] c"The time is \09%s\0A\00"
@.str.5 = [9 x i8] c"23:37:05\00"
@.str.6 = [22 x i8] c"This funciton is \09%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 ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([193 x i8], [193 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 ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [18 x i8] c"This file is \09%s\0A\00"
@.str.1 = [193 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/urmyfaith/roadofios/refs/heads/master/diary/solveoutlines/do_on_class/week2/week2_mulit_file_complie.c\00"
@.str.2 = [17 x i8] c"The date is \09%s\0A\00"
@.str.3 = [12 x i8] c"Mar 17 2022\00"
@.str.4 = [17 x i8] c"The time is \09%s\0A\00"
@.str.5 = [9 x i8] c"23:37:05\00"
@.str.6 = [22 x i8] c"This funciton is \09%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 ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([193 x i8], [193 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 ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @__func__.main, i64 0, i64 0))
ret i32 0
}