Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / Inputs / stub.c
blobdc06cef641db8412080cc86ab8514ec677b9b237
1 // The stub symbols library used for testing purposes
3 void *memcpy(void *dest, const void *src, unsigned long n) { return 0; }
4 void *memset(void *dest, int c, unsigned long n) { return 0; }
5 int printf(const char *format, ...) { return 0; }
6 void exit(int status) {}
7 int puts(const char *s) { return 0; }
8 int rand(void) { return 0; }
10 void *__gxx_personality_v0;
11 void *__cxa_allocate_exception;
12 void *_ZTIi;
13 void *__cxa_throw;
14 void *__cxa_begin_catch;
15 void *__cxa_end_catch;