curry.backends.cxx.loader module
- curry.backends.cxx.loader.needed_modules(sofile)[source]
The modules whose objects
sofileneeds, in the order of its NEEDED entries (see _dynamic_names).
- curry.backends.cxx.loader.source_file(record, sofile)[source]
The source file that the record of the module of
sofilenames (see compiler._source_file_name), as a path: a record that begins with a parent or current directory reference is relative to the directory of the object; another relative record is relative to the installation; an absolute record is a path as it is. None for an empty record.An object-relative record counts on the layout of the toolchain: the object lies in the product directory beside its source (.curry/<subdir>/M.so beside M.curry; _filenames.curryfilename). For an object elsewhere (a file of curry.save compiled in another directory) the record names no file of the module, so the result is None, and the module has no source file rather than a wrong one.