search for: dummy_dso_handl

Displaying 3 results from an estimated 3 matches for "dummy_dso_handl".

Did you mean: dummy_dso_handle
2012 May 23
0
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...so_handle when linking, but since there is no system linker between your build of the .bc files and running lli, nobody has defined it. It seems reasonable to me that lli should define __dso_handle if it's declared in the module. You could module tools/lli/lli.cpp to add a global: char *dummy_dso_handle = 0; and tie it to __dso_handle via. if (GlobalVariable *DSO = Mod->getGlobalVariable("__dso_handle")) if (!DSO->hasInitializer()) EE->updateGlobalMapping(DSO, &dummy_dso_handle); somewhere in main(), say after disabling lazy compilation. Entirely untested...
2012 May 23
1
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
...ere is no system linker between > your build of the .bc files and running lli, nobody has defined it. > > It seems reasonable to me that lli should define __dso_handle if it's > declared in the module. > > You could module tools/lli/lli.cpp to add a global: > > char *dummy_dso_handle = 0; > > and tie it to __dso_handle via. > > if (GlobalVariable *DSO = Mod->getGlobalVariable("__dso_handle")) > if (!DSO->hasInitializer()) > EE->updateGlobalMapping(DSO,&dummy_dso_handle); > > somewhere in main(), say after disabli...
2012 May 22
5
[LLVMdev] lli unable to resolve symbol _ZNKSt3__16locale9use_facetERNS0_2idE in bitcode
Resending :(. Any pointers? tia On 5/21/2012 2:46 PM, Ashok Nalkund wrote: > On 5/21/2012 11:15 AM, Nick Lewycky wrote: >> Ashok Nalkund wrote: >>> Resending, any pointers? I demangled the symbol and it turns out to be: >>> std::__1::locale::use_facet(std::__1::locale::id&) const >> >> My guess is that you've got a .bc file produced on a mac using