search for: cm_externalconstant

Displaying 1 result from an estimated 1 matches for "cm_externalconstant".

2019 Sep 25
4
Questions after playing around with KaleidoscopeJIT (With source files)
...know how the mailing list treats attachments (like .zip) I decided to only attach the source files - hoping it will help >o< --- 1.) Resolving undefined references I wonder what the best practice is to resolve symbols that are not defined in my llvm::Module. For that purpose I created "CM_ExternalConstant", that is using "extern const int planschiValue;" and compiled it with Clang. (See CM_ExternalConstant.cpp) "planschiValue" is not defined in the module, so it will be unreferenced when I jit it. What is the best way to do this? I used 3 different ways: 1.) I went over th...