Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
known_symbols.h
Go to the documentation of this file.
1#ifndef HALIDE_HEXAGON_REMOTE_KNOWN_SYMBOLS_H
2#define HALIDE_HEXAGON_REMOTE_KNOWN_SYMBOLS_H
3
4// Mapping between a symbol name and an address.
5 struct known_symbol {
6 const char *name;
7 char *addr;
8};
9
10// Look up a symbol in an array of known symbols. The map should be
11// terminated with a {NULL, NULL} known_symbol.
12 void *lookup_symbol(const char *sym, const known_symbol *map);
13
14// Look up common symbols.
15 void *get_known_symbol(const char *sym);
16
17#endif
get_known_symbol
void * get_known_symbol(const char *sym)
lookup_symbol
void * lookup_symbol(const char *sym, const known_symbol *map)
known_symbol
Definition known_symbols.h:5
known_symbol::name
const char * name
Definition known_symbols.h:6
known_symbol::addr
char * addr
Definition known_symbols.h:7