search for: generatorfunct

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

2019 Sep 25
4
Questions after playing around with KaleidoscopeJIT (With source files)
...y to do this? I used 3 different ways: 1.) I went over the llvm::Module before adding it to the layers. I searched for the symbol "?planschiValue@@3HB" and called "replaceAllUsesWith" to replace the symbol with the correct address. (See PlanschbeckenJIT.cpp:31) 2.) I set my own GeneratorFunction and provided addresses for the symbols (See PlanschbeckenJIT.cpp:95) 3.) I can use this->es.getMainJITDylib().define Each way worked fine. But I felt that way 2.) was the most annoying way, because I had to provide many other addresses. So what way is the best? Or can I 'freely' choo...