| ... | ... | @@ -159,6 +159,7 @@ static const Os os_list[] = { |
| 159 | 159 | OsMesa3D, |
| 160 | 160 | OsContiki, |
| 161 | 161 | OsAMDPAL, |
| 162 | OsHermitCore, |
| 162 | 163 | OsZen, |
| 163 | 164 | }; |
| 164 | 165 | |
| ... | ... | @@ -301,6 +302,8 @@ static ZigLLVM_OSType get_llvm_os_type(Os os_type) { |
| 301 | 302 | return ZigLLVM_Contiki; |
| 302 | 303 | case OsAMDPAL: |
| 303 | 304 | return ZigLLVM_AMDPAL; |
| 305 | case OsHermitCore: |
| 306 | return ZigLLVM_HermitCore; |
| 304 | 307 | } |
| 305 | 308 | zig_unreachable(); |
| 306 | 309 | } |
| ... | ... | @@ -370,6 +373,8 @@ static Os get_zig_os_type(ZigLLVM_OSType os_type) { |
| 370 | 373 | return OsContiki; |
| 371 | 374 | case ZigLLVM_AMDPAL: |
| 372 | 375 | return OsAMDPAL; |
| 376 | case ZigLLVM_HermitCore: |
| 377 | return OsHermitCore; |
| 373 | 378 | } |
| 374 | 379 | zig_unreachable(); |
| 375 | 380 | } |
| ... | ... | @@ -410,6 +415,7 @@ const char *get_target_os_name(Os os_type) { |
| 410 | 415 | case OsMesa3D: |
| 411 | 416 | case OsContiki: |
| 412 | 417 | case OsAMDPAL: |
| 418 | case OsHermitCore: |
| 413 | 419 | return ZigLLVMGetOSTypeName(get_llvm_os_type(os_type)); |
| 414 | 420 | } |
| 415 | 421 | zig_unreachable(); |
| ... | ... | @@ -783,6 +789,7 @@ uint32_t target_c_type_size_in_bits(const ZigTarget *target, CIntType id) { |
| 783 | 789 | case OsFuchsia: |
| 784 | 790 | case OsContiki: |
| 785 | 791 | case OsAMDPAL: |
| 792 | case OsHermitCore: |
| 786 | 793 | zig_panic("TODO c type size in bits for this target"); |
| 787 | 794 | } |
| 788 | 795 | zig_unreachable(); |