|
/* Provide Declarations */ |
|
#include <stdint.h> |
|
#ifndef __cplusplus |
|
typedef unsigned char bool; |
|
#endif |
|
|
|
#ifdef _MSC_VER |
|
#define __builtin_unreachable() __assume(0) |
|
#endif |
|
#ifdef _MSC_VER |
|
#define __noreturn __declspec(noreturn) |
|
#else |
|
#define __noreturn __attribute__((noreturn)) |
|
#endif |
|
#if defined(__GNUC__) |
|
#define __HIDDEN__ __attribute__((visibility("hidden"))) |
|
#endif |
|
|
|
#if defined(__GNUC__) |
|
#define __ATTRIBUTELIST__(x) __attribute__(x) |
|
#else |
|
#define __ATTRIBUTELIST__(x) |
|
#endif |
|
|
|
#ifdef _MSC_VER /* Can only support "linkonce" vars with GCC */ |
|
#define __attribute__(X) |
|
#endif |
|
|
|
|
|
|
|
/* Global Declarations */ |
|
|
|
/* Types Declarations */ |
|
struct l_unnamed_2; |
|
struct l_unnamed_3; |
|
struct l_struct_core_KD__KD_panic_KD__KD_Location; |
|
struct l_struct_core_KD__KD_panic_KD__KD_PanicInfo; |
|
struct l_unnamed_1; |
|
|
|
/* Function definitions */ |
|
|
|
/* Types Definitions */ |
|
struct l_array_3_uint64_t { |
|
uint64_t array[3]; |
|
}; |
|
struct l_unnamed_2 { |
|
void* field0; |
|
struct l_array_3_uint64_t* field1; |
|
}; |
|
struct l_unnamed_3 { |
|
void* field0; |
|
uint64_t field1; |
|
}; |
|
struct l_struct_core_KD__KD_panic_KD__KD_Location { |
|
/* void field0 */ struct l_unnamed_3 field1; |
|
/* void field2 */ uint32_t field3; |
|
/* void field4 */ uint32_t field5; |
|
/* void field6 */}; |
|
struct l_struct_core_KD__KD_panic_KD__KD_PanicInfo { |
|
/* void field0 */ struct l_unnamed_2 field1; |
|
/* void field2 */ uint64_t* field3; |
|
/* void field4 */ struct l_struct_core_KD__KD_panic_KD__KD_Location* field5; |
|
/* void field6 */}; |
|
struct l_array_14_uint8_t { |
|
uint8_t array[14]; |
|
}; |
|
#ifdef _MSC_VER |
|
#pragma pack(push, 1) |
|
#endif |
|
struct l_unnamed_1 { |
|
struct l_array_14_uint8_t field0; |
|
} __attribute__ ((packed)); |
|
#ifdef _MSC_VER |
|
#pragma pack(pop) |
|
#endif |
|
|
|
/* External Global Variable Declarations */ |
|
|
|
/* Function Declarations */ |
|
__noreturn void rust_begin_unwind(struct l_struct_core_KD__KD_panic_KD__KD_PanicInfo*) __ATTRIBUTELIST__((nothrow)) __HIDDEN__; |
|
int main(void) __ATTRIBUTELIST__((nothrow)); |
|
__noreturn void abort(void) __ATTRIBUTELIST__((nothrow)); |
|
void puts(uint8_t*) __ATTRIBUTELIST__((nothrow)); |
|
|
|
|
|
/* Global Variable Definitions and Initialization */ |
|
static struct l_unnamed_1 alloc3 = { { "hello, world!" } }; |
|
|
|
|
|
/* LLVM Intrinsic Builtin Function Bodies */ |
|
|
|
|
|
/* Function Bodies */ |
|
|
|
__noreturn void rust_begin_unwind(struct l_struct_core_KD__KD_panic_KD__KD_PanicInfo* llvm_cbe__1) { |
|
/*tail*/ abort(); |
|
__builtin_unreachable(); |
|
|
|
} |
|
|
|
|
|
int main(void) { |
|
/*tail*/ puts(((&alloc3.field0.array[((int64_t)0)]))); |
|
return 0; |
|
} |
|
|