#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 */
char *buildConfig_compiler();
char *buildConfig_objectFileExtension();
char *buildConfig_sourceFileExtension();
int /*<<< orphan*/ printf(char *, char *, char *, char *);
void devutils_printBuildConfig(void) {
  printf("%scompiler:%s %s\n", "\x1B[1m", "\x1B[22m", buildConfig_compiler());
  printf("%sobjectFileExtension:%s %s\n", "\x1B[1m", "\x1B[22m",
         buildConfig_objectFileExtension());
  printf("%ssourceFileExtension:%s %s\n\n", "\x1B[1m", "\x1B[22m",
         buildConfig_sourceFileExtension());
}


x86 assembly (clang, -O0):
<devutils_printBuildConfig>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1060 <buildConfig_compiler@plt>
mov    %rax,%rcx
lea    0xeab(%rip),%rdi
lea    0xeb6(%rip),%rsi
lea    0xeb4(%rip),%rdx
call   1030 <printf@plt>
mov    $0x0,%al
call   1050 <buildConfig_objectFileExtension@plt>
mov    %rax,%rcx
lea    0xea4(%rip),%rdi
lea    0xe92(%rip),%rsi
lea    0xe90(%rip),%rdx
call   1030 <printf@plt>
mov    $0x0,%al
call   1040 <buildConfig_sourceFileExtension@plt>
mov    %rax,%rcx
lea    0xe9d(%rip),%rdi
lea    0xe6e(%rip),%rsi
lea    0xe6c(%rip),%rdx
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<devutils_printBuildConfig>:
push   %r14
push   %rbx
push   %rax
xor    %eax,%eax
call   1060 <buildConfig_compiler@plt>
lea    0xeae(%rip),%rdi
lea    0xeb9(%rip),%rbx
lea    0xeb7(%rip),%r14
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %rax,%rcx
call   1030 <printf@plt>
xor    %eax,%eax
call   1050 <buildConfig_objectFileExtension@plt>
lea    0xea1(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %rax,%rcx
call   1030 <printf@plt>
xor    %eax,%eax
call   1040 <buildConfig_sourceFileExtension@plt>
lea    0xea2(%rip),%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
mov    %rax,%rcx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"%scompiler:%s %s\0A\00"
@.str.1 = [5 x i8] c"\1B[1m\00"
@.str.2 = [6 x i8] c"\1B[22m\00"
@.str.3 = [29 x i8] c"%sobjectFileExtension:%s %s\0A\00"
@.str.4 = [30 x i8] c"%ssourceFileExtension:%s %s\0A\0A\00"
define void @devutils_printBuildConfig() {
%1 = call i8* (...) @buildConfig_compiler()
%2 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %1)
%3 = call i8* (...) @buildConfig_objectFileExtension()
%4 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%5 = call i8* (...) @buildConfig_sourceFileExtension()
%6 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %5)
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"%scompiler:%s %s\0A\00"
@.str.1 = [5 x i8] c"\1B[1m\00"
@.str.2 = [6 x i8] c"\1B[22m\00"
@.str.3 = [29 x i8] c"%sobjectFileExtension:%s %s\0A\00"
@.str.4 = [30 x i8] c"%ssourceFileExtension:%s %s\0A\0A\00"
define void @devutils_printBuildConfig() {
%1 = tail call i8* (...) @buildConfig_compiler()
%2 = tail call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %1)
%3 = tail call i8* (...) @buildConfig_objectFileExtension()
%4 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%5 = tail call i8* (...) @buildConfig_sourceFileExtension()
%6 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* %5)
ret void
}