Hi Jason.
add the function name to ENTRIES block in prm file can avoid unused function being optimized. can you please try it? can it work for you?

Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------