This adds a utility extern-statics that transforms input LLVM files to have functions which are entry-points to always be externally linkable. SMACK's front-end is changed to process input bit-codes before running llvm-link on them in order to keep these functions from being erased during linking.
This adds a utility
extern-statics
that transforms input LLVM files to have functions which are entry-points to always be externally linkable. SMACK's front-end is changed to process input bit-codes before runningllvm-link
on them in order to keep these functions from being erased during linking.The usage of
extern-statics
is: