search for: _global__sub_i_vectorbios

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

2019 Dec 19
2
Moving to ORCv2 - Where are my global constructors and destructors?
...nstructor. int wuff(); __declspec(noinline) int miau() { printf("Huhuhu"); return wuff(); } const int x = miau(); When I parse this IR file in my JIT and go through the 'globals()' of the llvm::Module, then I will encounter a symbol with the following name: "_GLOBAL__sub_I_VectorBIOS.cpp" where VectorBIOS.cpp was the name of the source file I compiled to the bit code. I then wanted to get the address of that symbol - from the MCJIT times I remember, that those functions are the global constructors, but when calling lookup on that name, I was not able to find the symbol. S...