#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, char *);
void print_version() {
  printf("PROJECT_NAME : %s\n", "");
  printf("PROJECT_VESION : %s\n", "1.1.0");
  printf("SVN_VESION : %s\n",
         "Path: /home/guofutan/workspace/MTRpc_proj \nWorking Copy Root Path: "
         "/home/guofutan/workspace/MTRpc_proj \nURL: "
         "http://tc-svn.tencent.com/pub/pub_MTRpc_rep/MTRpc_proj/trunk "
         "\nRelative URL: ^/MTRpc_proj/trunk \nRepository Root: "
         "http://tc-svn.tencent.com/pub/pub_MTRpc_rep \nRepository UUID: "
         "d1354fd6-07e0-11e4-a2a2-158d611bd191 \nRevision: 307 \nNode Kind: "
         "directory \nSchedule: normal \nLast Changed Author: albertjiang "
         "\nLast Changed Rev: 307 \nLast Changed Date: 2015-01-15 09:42:50 "
         "+0800 (Thu, 15 Jan 2015)");
  printf("BUILD_TIME : %s\n", "Mar 17 2022"
                              " "
                              "14:07:42");
  printf("BUILD_FLAGS: %s\n",
         "/usr/bin/c++  -ggdb -g3 -fPIC -rdynamic  -fpermissive -Wall -Wextra "
         "-Wl,--eh-frame-hdr -msse -msse2 -msse3 -msse4.1  -std=c++0x  -O2 -g "
         "-DNDEBUG");
}


x86 assembly (clang, -O0):
<print_version>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xef0(%rip),%rsi
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
lea    0xef3(%rip),%rsi
call   1030 <printf@plt>
lea    0xeed(%rip),%rdi
lea    0xef7(%rip),%rsi
call   1030 <printf@plt>
lea    0x10dd(%rip),%rdi
lea    0x10e7(%rip),%rsi
call   1030 <printf@plt>
lea    0x10f0(%rip),%rdi
lea    0x10fa(%rip),%rsi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_version>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xef3(%rip),%rsi
call   1030 <printf@plt>
lea    0xee8(%rip),%rdi
lea    0xef6(%rip),%rsi
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
lea    0xefa(%rip),%rsi
call   1030 <printf@plt>
lea    0x10e0(%rip),%rdi
lea    0x10ea(%rip),%rsi
call   1030 <printf@plt>
lea    0x10f3(%rip),%rdi
lea    0x10fd(%rip),%rsi
pop    %rax
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [19 x i8] c"PROJECT_NAME : %s\0A\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [21 x i8] c"PROJECT_VESION : %s\0A\00"
@.str.3 = [6 x i8] c"1.1.0\00"
@.str.4 = [17 x i8] c"SVN_VESION : %s\0A\00"
@.str.5 = [498 x i8] c"Path: /home/guofutan/workspace/MTRpc_proj \0AWorking Copy Root Path: /home/guofutan/workspace/MTRpc_proj \0AURL: http://tc-svn.tencent.com/pub/pub_MTRpc_rep/MTRpc_proj/trunk \0ARelative URL: ^/MTRpc_proj/trunk \0ARepository Root: http://tc-svn.tencent.com/pub/pub_MTRpc_rep \0ARepository UUID: d1354fd6-07e0-11e4-a2a2-158d611bd191 \0ARevision: 307 \0ANode Kind: directory \0ASchedule: normal \0ALast Changed Author: albertjiang \0ALast Changed Rev: 307 \0ALast Changed Date: 2015-01-15 09:42:50 +0800 (Thu, 15 Jan 2015)\00"
@.str.6 = [17 x i8] c"BUILD_TIME : %s\0A\00"
@.str.7 = [21 x i8] c"Mar 17 2022 14:07:42\00"
@.str.8 = [17 x i8] c"BUILD_FLAGS: %s\0A\00"
@.str.9 = [145 x i8] c"/usr/bin/c++ -ggdb -g3 -fPIC -rdynamic -fpermissive -Wall -Wextra -Wl,--eh-frame-hdr -msse -msse2 -msse3 -msse4.1 -std=c++0x -O2 -g -DNDEBUG\00"
define void @print_version() {
%1 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([498 x i8], [498 x i8]* @.str.5, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c"PROJECT_NAME : %s\0A\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [21 x i8] c"PROJECT_VESION : %s\0A\00"
@.str.3 = [6 x i8] c"1.1.0\00"
@.str.4 = [17 x i8] c"SVN_VESION : %s\0A\00"
@.str.5 = [498 x i8] c"Path: /home/guofutan/workspace/MTRpc_proj \0AWorking Copy Root Path: /home/guofutan/workspace/MTRpc_proj \0AURL: http://tc-svn.tencent.com/pub/pub_MTRpc_rep/MTRpc_proj/trunk \0ARelative URL: ^/MTRpc_proj/trunk \0ARepository Root: http://tc-svn.tencent.com/pub/pub_MTRpc_rep \0ARepository UUID: d1354fd6-07e0-11e4-a2a2-158d611bd191 \0ARevision: 307 \0ANode Kind: directory \0ASchedule: normal \0ALast Changed Author: albertjiang \0ALast Changed Rev: 307 \0ALast Changed Date: 2015-01-15 09:42:50 +0800 (Thu, 15 Jan 2015)\00"
@.str.6 = [17 x i8] c"BUILD_TIME : %s\0A\00"
@.str.7 = [21 x i8] c"Mar 17 2022 14:07:42\00"
@.str.8 = [17 x i8] c"BUILD_FLAGS: %s\0A\00"
@.str.9 = [145 x i8] c"/usr/bin/c++ -ggdb -g3 -fPIC -rdynamic -fpermissive -Wall -Wextra -Wl,--eh-frame-hdr -msse -msse2 -msse3 -msse4.1 -std=c++0x -O2 -g -DNDEBUG\00"
define void @print_version() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([498 x i8], [498 x i8]* @.str.5, i64 0, i64 0))
%4 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([145 x i8], [145 x i8]* @.str.9, i64 0, i64 0))
ret void
}