Displaying 3 results from an estimated 3 matches for "helloorc".
2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
...and ended with some questions.
> >
> >
> >
> > What is the use of “MangleAndInterner”?
> > I read it is used to mangle the name for the lookup search, but I seem
> to be not able to use it correctly. In my first attempt I used the mangled
> name of my function “?helloOrc@@YAHXZ” with the lookup method – that
> worked.
> >
> > Now I tried “int helloOrc()” and it failed/did not found the function.
> Then I tried “?helloOrc@@YAHXZ” again but removed the use of the
> “MangleAndInterner” instance – that worked again.
> >
> > What is that...
2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
...API. I played around with some things and ended with some questions.
1. What is the use of "MangleAndInterner"?
I read it is used to mangle the name for the lookup search, but I seem to be not able to use it correctly. In my first attempt I used the mangled name of my function "?helloOrc@@YAHXZ" with the lookup method - that worked.
Now I tried "int helloOrc()" and it failed/did not found the function. Then I tried "?helloOrc@@YAHXZ" again but removed the use of the "MangleAndInterner" instance - that worked again.
What is that instance used for...
2019 Sep 25
4
Questions after playing around with KaleidoscopeJIT (With source files)
...chGenerator plus my own lookup function.
Would it also be possible to replace the uses of "?planschiValue@@3HB" directly with the actuall value of "plaschiValue"? Because it is a constant?
2.) Loading multiple modules
I created "CM_Orc", which has a function "int helloOrc()" - "CM_ExternalConstant" has the same function, but a different implementation. (See CM_Orc.cpp and CM_ExternalConstant.cpp) Adding both modules to the JIT will lead to an error message:
"Failure value returned from cantFail wrapped call
UNREACHABLE executed at c:\program file...