#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 *);
void gdbmiPrintHelpInfo() {
  printf("info breakpoints -- Status of user-settable breakpoints\n");
  printf("info constants -- All constants or those matching REGEXP\n");
  printf("info line -- Core addresses of the code for a source line\n");
  printf("info target -- Display target information\n");
  printf("info files -- Like \"info target\"\n");
  printf("info functions -- All functions or those matching REGEXP\n");
  printf("info registers -- List of registers and contents\n");
  printf("info all-registers -- List of all registers and contents\n");
  printf("info channels -- List of channels and contents\n");
  printf("info io_registers -- List of I/O registers and contents\n");
  printf("info threads -- IDs of currently known threads\n");
  printf("info interrupts -- Show active interrupt\n");
  printf("info source -- Information about the current source file\n");
  printf("info sources -- All source files or those matching REGEXP\n");
  printf("info stack -- Backtrace of the stack\n");
  printf("info variables -- All variables or those matching REGEXP\n");
}


x86 assembly (clang, -O0):
<gdbmiPrintHelpInfo>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
lea    0xf40(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8e(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa4(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd2(%rip),%rdi
call   1030 <printf@plt>
lea    0xff8(%rip),%rdi
call   1030 <printf@plt>
lea    0x1026(%rip),%rdi
call   1030 <printf@plt>
lea    0x104a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1077(%rip),%rdi
call   1030 <printf@plt>
lea    0x109b(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1116(%rip),%rdi
call   1030 <printf@plt>
lea    0x1130(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<gdbmiPrintHelpInfo>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf14(%rip),%rdi
call   1030 <puts@plt>
lea    0xf41(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa2(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcf(%rip),%rdi
call   1030 <puts@plt>
lea    0xff4(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1044(%rip),%rdi
call   1030 <puts@plt>
lea    0x1070(%rip),%rdi
call   1030 <puts@plt>
lea    0x1093(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10dd(%rip),%rdi
call   1030 <puts@plt>
lea    0x110b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1124(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [57 x i8] c"info breakpoints -- Status of user-settable breakpoints\0A\00"
@.str.1 = [58 x i8] c"info constants -- All constants or those matching REGEXP\0A\00"
@.str.2 = [59 x i8] c"info line -- Core addresses of the code for a source line\0A\00"
@.str.3 = [43 x i8] c"info target -- Display target information\0A\00"
@.str.4 = [34 x i8] c"info files -- Like \22info target\22\0A\00"
@.str.5 = [58 x i8] c"info functions -- All functions or those matching REGEXP\0A\00"
@.str.6 = [50 x i8] c"info registers -- List of registers and contents\0A\00"
@.str.7 = [58 x i8] c"info all-registers -- List of all registers and contents\0A\00"
@.str.8 = [48 x i8] c"info channels -- List of channels and contents\0A\00"
@.str.9 = [57 x i8] c"info io_registers -- List of I/O registers and contents\0A\00"
@.str.10 = [48 x i8] c"info threads -- IDs of currently known threads\0A\00"
@.str.11 = [42 x i8] c"info interrupts -- Show active interrupt\0A\00"
@.str.12 = [58 x i8] c"info source -- Information about the current source file\0A\00"
@.str.13 = [59 x i8] c"info sources -- All source files or those matching REGEXP\0A\00"
@.str.14 = [38 x i8] c"info stack -- Backtrace of the stack\0A\00"
@.str.15 = [58 x i8] c"info variables -- All variables or those matching REGEXP\0A\00"
define void @gdbmiPrintHelpInfo() {
%1 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.15, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [56 x i8] c"info breakpoints -- Status of user-settable breakpoints\00"
@str.16 = [57 x i8] c"info constants -- All constants or those matching REGEXP\00"
@str.17 = [58 x i8] c"info line -- Core addresses of the code for a source line\00"
@str.18 = [42 x i8] c"info target -- Display target information\00"
@str.19 = [33 x i8] c"info files -- Like \22info target\22\00"
@str.20 = [57 x i8] c"info functions -- All functions or those matching REGEXP\00"
@str.21 = [49 x i8] c"info registers -- List of registers and contents\00"
@str.22 = [57 x i8] c"info all-registers -- List of all registers and contents\00"
@str.23 = [47 x i8] c"info channels -- List of channels and contents\00"
@str.24 = [56 x i8] c"info io_registers -- List of I/O registers and contents\00"
@str.25 = [47 x i8] c"info threads -- IDs of currently known threads\00"
@str.26 = [41 x i8] c"info interrupts -- Show active interrupt\00"
@str.27 = [57 x i8] c"info source -- Information about the current source file\00"
@str.28 = [58 x i8] c"info sources -- All source files or those matching REGEXP\00"
@str.29 = [37 x i8] c"info stack -- Backtrace of the stack\00"
@str.30 = [57 x i8] c"info variables -- All variables or those matching REGEXP\00"
define void @gdbmiPrintHelpInfo() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.16, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.18, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.20, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.21, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.22, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.23, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.24, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.25, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.26, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.28, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.29, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.30, i64 0, i64 0))
ret void
}