1
2export void ispcCompilerABI() {
3
4#if defined(__GNU__) && defined(__ELF__) && defined(__ARM_EABI__)
5  print("INFO:abi[ELF ARMEABI]");
6  static char const info_abi[] =
7#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEB__)
8  print("INFO:abi[ELF ARM]");
9#elif defined(__GNU__) && defined(__ELF__) && defined(__ARMEL__)
10  print("INFO:abi[ELF ARM]");
11
12#elif defined(__linux__) && defined(__ELF__) && defined(__amd64__) &&         \
13  defined(__ILP32__)
14print("INFO:abi[ELF X32]");
15
16#elif defined(__ELF__)
17print("INFO:abi[ELF]");
18#endif
19
20}
21