tvm_tirx.support.ndk.get_global_symbol_section_map

tvm_tirx.support.ndk.get_global_symbol_section_map#

tvm_tirx.support.ndk.get_global_symbol_section_map(path, *, nm=None)#

Get global symbols from a library via nm -gU in NDK

Parameters:
  • path (str) – The library path

  • nm (str) – The path to nm command

Returns:

symbol_section_map (Dict[str, str]) – A map from defined global symbol to their sections

Return type:

dict[str, str]