search for: __cling__

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

Did you mean: __clang__
2016 Apr 29
3
(Orc)JIT and weak symbol resolution
...erp) { if (interp != &StaticStuff<int>::s_data) { printf("Wrong address, %ld in shared lib, %ld in interpreter!\n", (long)&StaticStuff<int>::s_data, (long)interp); // CHECK-NOT: Wrong address return 1; } return 0; } #else # ifdef __CLING__ int Symbols() { # else int main() # endif { return compareAddr(&StaticStuff<int>::s_data);} #endif // ! BUILD_SHARED $ clang++ -shared -fPIC -DBUILD_SHARED symbols.cxx -o libSymbols.so $ clang++ -cc1 -emit-llvm symbols.cxx -o - | lli -load ./libSymbols.so - or $ clang++ -lSymbols symb...