Closed sppalkia closed 5 years ago
This PR adds support for a custom name for the entry-point function in an LLVM module. This is useful, e.g., if the dumped LLVM IR is used to compile multiple shared object files that all need non-conflicting symbol names for the functions.
Usage with C API:
weld_conf_set("weld.llvm.runFunctionName", "myCustomFunctionName");
The default name remains "run". @kraftp this should address your comment.
"run"
This PR adds support for a custom name for the entry-point function in an LLVM module. This is useful, e.g., if the dumped LLVM IR is used to compile multiple shared object files that all need non-conflicting symbol names for the functions.
Usage with C API:
The default name remains
"run"
. @kraftp this should address your comment.