Files
solana/programs/bpf/c/src/relative_call/relative_call.c
2020-03-04 16:26:32 -08:00

15 lines
276 B
C

/**
* @brief test program that generates BPF PC relative call instructions
*/
#include <solana_sdk.h>
void __attribute__ ((noinline)) helper() {
sol_log(__func__);
}
extern uint64_t entrypoint(const uint8_t *input) {
sol_log(__func__);
helper();
return SUCCESS;
}