Script xalt_generate_linkdata_in_py
[hide private]
[frames] | no frames]

Script xalt_generate_linkdata_in_py

source code

Functions [hide private]
 
cleanup(xaltobj, fn)
cleanup the output of ld --trace
source code
 
main()
Built a json output of the ld --trace data.
source code
Variables [hide private]
  logger = config_logger()
  parenPat = re.compile(r'.*\((.*)\).*')
  tmpObjPat = re.compile(r'/tmp/[_a-zA-Z0-9-]+.o')
  iret = main()
Function Details [hide private]

cleanup(xaltobj, fn)

source code 

cleanup the output of ld --trace

Parameters:
  • xaltobj - The name of the XALT object file.
  • fn - The file path that contains the ld --trace output.