Add runtime.bswap_* required for -llvm-api

This commit is contained in:
gingerBill
2020-04-11 19:26:16 +01:00
parent 62dc99dbef
commit baf5b9edc3
5 changed files with 106 additions and 58 deletions

View File

@@ -1703,6 +1703,11 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
str_lit("memory_compare"),
str_lit("memory_compare_zero"),
str_lit("bswap_16"),
str_lit("bswap_32"),
str_lit("bswap_64"),
str_lit("bswap_128"),
};
for (isize i = 0; i < gb_count_of(required_runtime_entities); i++) {
add_dependency_to_set(c, scope_lookup(c->info.runtime_package->scope, required_runtime_entities[i]));