search for: yaxxz

Displaying 13 results from an estimated 13 matches for "yaxxz".

2020 Sep 28
2
ORC JIT - different behaviour of ExecutionSession.lookup?
Hey everyone, I felt this question is different from my other question - hope this is okay. So - I was playing around with the lookup function of the ExecutionSession and there are some things I don't understand. I have a .BC file with a function "?Sampler@@YAXXZ" referencing a value "?_Plansch_test@@3HA" that is not defined in that module itself. I first planed on not providing an address for "?_Plansch_test@@3HA" but wanted to know the address of "?Sampler@@YAXXZ". So I issued something like that: auto &...
2020 Sep 29
3
ORC JIT - different behaviour of ExecutionSession.lookup?
...efinitionGenerator returned a "llvm::orc::SymbolsNotFound" for the "?_Plansch_test@@3HA", I got an address for "? That's because you're issuing the lookup with RequiredState == SymbolState::Resolved. This means that your query will return as soon as "?Sampler@@YAXXZ" is assigned an address. In the JIT linker(s) addresses are assigned before external references are looked up. So after your lookup returns the linker attempts to find "?_Plansch_test@@3HA", fails, and so moves "?Sampler@@YAXXZ" to the error state. You almost always want t...
2020 Sep 30
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...r a different module to pop up first. So I would iterate over the globals and the functions of the Module: I would rename each symbol I encounter to have a unique name. This would be easy because when we load stuff, we give them a hierarchical name like “Parent_Child_Child_Dino” So "?Sampler@@YAXXZ" Could be renamed to "Parent_Child_Child_Dino_?Sampler@@YAXXZ". If I encounter an undefined reference that is not part of the standard library like "?_Plansch_test@@3HA" Then I would extract the relative path and convert it to an absolute one, getting: “Parent_Child__Plans...
2004 Dec 24
3
[LLVMdev] win32 broken again
...DirectoryOnSignal at sys@llvm@@YAXABVPath at 12@@Z) System.lib(Signals.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall llvm::sys::Path::destroyDirectory(bool)const " (?destroyDirectory at Path@sys at llvm@@QBE_N_N at Z) referenced in function __catch$?Cleanup@@YAXXZ$0 System.lib(Signals.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall llvm::sys::Path::destroyFile(void)const " (?destroyFile at Path@sys at llvm@@QBE_NXZ) referenced in function "void __cdecl Cleanup(void)" (?Cleanup@@YAXXZ)
2020 Oct 01
2
ORC JIT - different behaviour of ExecutionSession.lookup?
...r a different module to pop up first. So I would iterate over the globals and the functions of the Module: I would rename each symbol I encounter to have a unique name. This would be easy because when we load stuff, we give them a hierarchical name like “Parent_Child_Child_Dino” So "?Sampler@@YAXXZ" Could be renamed to "Parent_Child_Child_Dino_?Sampler@@YAXXZ". If I encounter an undefined reference that is not part of the standard library like "?_Plansch_test@@3HA" Then I would extract the relative path and convert it to an absolute one, getting: “Parent_Child__Plans...
2004 Dec 24
0
[LLVMdev] win32 broken again
...DirectoryOnSignal at sys@llvm@@YAXABVPath at 12@@Z) System.lib(Signals.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall llvm::sys::Path::destroyDirectory(bool)const " (?destroyDirectory at Path@sys at llvm@@QBE_N_N at Z) referenced in function __catch$?Cleanup@@YAXXZ$0 System.lib(Signals.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall llvm::sys::Path::destroyFile(void)const " (?destroyFile at Path@sys at llvm@@QBE_NXZ) referenced in function "void __cdecl Cleanup(void)" (?Cleanup@@YAXXZ) ________________________...
2015 Jun 11
2
[LLVMdev] Self compiling latest clang from SVN
...irst, then using the resulting clang-cl.exe). It fails with a bunch of error messages along the lines of: LLVMSupport.lib(Atomic.obj) : error LNK2019: unresolved external symbol __faststorefence referenced in function "void __cdecl llvm::sys::MemoryFence(void)" (?MemoryFence at sys@llvm@@YAXXZ) [C:\llvm-svn\build\utils\FileCheck\FileCheck.vcxproj] LLVMSupport.lib(Host.obj) : error LNK2019: unresolved external symbol _xgetbv referenced in function "class llvm::StringRef __cdecl llvm::sys::getHostCPUName(void)" (?getHostCPUName at sys@llvm@@YA?AVStringRef at 2@XZ) [C:\llvm-svn\bu...
2019 Aug 10
2
[RFC] Stack overflow and optimizations
...hrink stack frames. But this dos *not* mean that stack overflows are UB! > Also, we optimize the function > ``` > void overflow() { > overflow(); > } > ``` > to > ``` > ; Function Attrs: nounwind readnone sspstrong uwtable > define dso_local void @"?overflow@@YAXXZ"() local_unnamed_addr #0 { > entry: > ret void > } > ``` This looks like an instance of the C++ forward progress assumption? (C AFAIK only has that assumption for [some] loops, not recursive functions, so arguably this is a miscompilation for C.) Kind regards, Ralf
2015 Jun 12
2
[LLVMdev] Self compiling latest clang from SVN
.... It fails with a bunch of >> error messages along the lines of: >> >> LLVMSupport.lib(Atomic.obj) : error LNK2019: unresolved external symbol >> __faststorefence referenced in function "void __cdecl >> llvm::sys::MemoryFence(void)" (?MemoryFence at sys@llvm@@YAXXZ) >> [C:\llvm-svn\build\utils\FileCheck\FileCheck.vcxproj] >> LLVMSupport.lib(Host.obj) : error LNK2019: unresolved external symbol >> _xgetbv referenced in function "class llvm::StringRef __cdecl >> llvm::sys::getHostCPUName(void)" (?getHostCPUName at sys@llvm@ &gt...
2019 Aug 02
2
[RFC] Stack overflow and optimizations
During the review of https://reviews.llvm.org/D59978 we got to the question whether we can optimize based on the assumption that stack overflow is undefined behavior. While I think it is according to the C++ standard, Windows Structured Exception Handling and signal handlers might allow programs to recover/exit gracefully. Concretely, the patch D59978 wants add the noreturn attribute to functions
2014 Aug 08
0
Wine release 1.7.24
...th with 'KNOWNFOLDERID_Links' 36888 DDO Wine website not work any more 36927 SADX Mod Loader crashes due to missing msvcp100 function std::basic_istream::swap() 36995 Regression: crash in msxml3 36998 Cube World crashes on unimplemented function msvcp110.dll.?_Xbad_alloc at std@@YAXXZ 37001 APB Reloaded 1.x (MMORPG) launcher crashes on startup (some CIM data type to OLE variant (VT) mappings are incorrect) 37005 Serif WebPlus Starter Edition crashes on startup (IPropertyBag2::GetPropertyInfo returns more properties than the caller requested, leading to stack smashing) 37...
2015 Nov 23
3
COFF::IMAGE_REL_AMD64_REL32 relocation overflow when compiling for x86_64
Thanks Andy, helpful as always! 1 is a possibility, but not ideal for us. Could you elaborate a little on 3? I don't really know what a jump stub is, but am guessing it's a kind of "alternative symbol" which would just act as a middle man to invoke the "real" symbol in the static library. If that's the case, I can think of a way to implement it for specific
2011 Sep 23
0
Wine release 1.3.29
...cp80.dll.??4?$basic_string at _WU?$char_traits at _W@std@@V?$allocator at _W@2@@std@@QAEAAV01 at PB_W@Z 25629 Left 4 Dead 2 - Only a sound channel is heard in the Introduction. 26361 ExeFile.exe crashes on character creation 26961 Download Accelerator Plus: needs msvcp60.dll.?_Xran at std@@YAXXZ 27009 Fallout 3 Launcher crashes with builtin msvcp 27031 k-meleon needs msvcp71.dll.?substr@?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QBE?AV12 at II@Z 27054 Won't run Wix 3.6 (beta) installer 27076 Darkspore: Character customization screen is dark with f...