Displaying 20 results from an estimated 25 matches for "__c_specific_handler".
2012 May 04
3
jdk on wine - Error
...e:
wine jdk-6u32-ea-bin-b02-windows-amd64-30_jan_2012.exe
The output is :
Code:
fixme:heap:HeapSetInformation 0x2c4000 0 0x22fce0 4
wine: Call from 0x7f3f4ff57048 to unimplemented function KERNEL32.dll._local_unwind, aborting
wine: Call from 0x7f3f4ff57048 to unimplemented function KERNEL32.dll.__C_specific_handler, aborting
wine: Call from 0x7f3f4ff57048 to unimplemented function KERNEL32.dll.__C_specific_handler, aborting
wine: Call from 0x7f3f4ff57048 to unimplemented function KERNEL32.dll.__C_specific_handler, aborting
wine: Call from 0x7f3f4ff57048 to unimplemented function KERNEL32.dll.__C_specific_hand...
2014 Nov 10
2
[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR
...to label %__try.cont unwind label %lpad
filter:
%eh_code = call i32 @llvm.eh.seh.exception_code() ; or similar
%cmp = icmp eq i32 %eh_code, 0xC0000094
%r = zext i1 %cmp to i32
call void @llvm.eh.seh.filter(i32 %r)
lpad:
%0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)*
@__C_specific_handler to i8*)
catch label %filter
store i32 0, i32* %r, align 4
br label %__try.cont
__try.cont:
%2 = load i32* %r, align 4
ret i32 %2
}
define internal void @try_body(i32* %r, i32* %n, i32* %d) {
entry:
%0 = load i32* %n, align 4
%1 = load i32* %d, align 4
%div = sdiv i32 %0, %...
2019 Apr 26
2
[ASan][Windows] Interceptor function type not compatible with intercepted function
...functions:
CreateThread “no conversion”:
From: 'DWORD (__cdecl *)(void * , __sanitizer::uptr, DWORD (__cdecl *)(void *), void *, DWORD, void * )'
To : 'HANDLE (__cdecl *)(LPSECURITY_ATTRIBUTES, SIZE_T , LPTHREAD_START_ROUTINE , LPVOID, DWORD, LPDWORD)'
__C_specific_handler:
From: 'int (__cdecl *)(void * , void *, void * , void * )'
To: 'EXCEPTION_DISPOSITION (__cdecl *)(_EXCEPTION_RECORD *, void *, _CONTEXT *, _DISPATCHER_CONTEXT *)'
Can someone on the Windows side take a quick look and revert my temp...
2015 Sep 03
2
lld on Windows
...flavor <value> Flavor for linking, options are gnu/darwin/link
>> -help Display this help message
>> -target <value> Select the target
>> -version Display the version
>>
>> C:\t>lld -flavor link a.obj
>> Cannot open /GUARDSYM:__C_specific_handler,S.obj: no such file or
>> directory
>>
>> On Thu, Sep 3, 2015 at 4:45 PM, Rui Ueyama <ruiu at google.com> wrote:
>>
>>> What error message did you get? What
>>> http://lld.llvm.org/windows_support.html says is correct -- except
>>> debug info...
2015 May 18
2
[LLVMdev] RFC: New EH representation for MSVC compatibility
...unwind tables with properly-ordered state transitions? The
> compiler SEH personality (_C_specific_handler) doesn't have that, right? If
> you could manage __try, __finally already, doesn't that provide the
> solution?
>
Right, __CxxFrameHandler3 is a lot more constraining than
__C_specific_handler. The SEH personality doesn't let you rethrow
exceptions, so once you catch the exception you're done, you're in the
parent function. My understanding is that C++ works by having an active
catch handler on the stack.
> Let me be precise. Let's take your example with the "am...
2015 Sep 03
2
lld on Windows
...puts>
OPTIONS:
-core CORE linking
-flavor <value> Flavor for linking, options are gnu/darwin/link
-help Display this help message
-target <value> Select the target
-version Display the version
C:\t>lld -flavor link a.obj
Cannot open /GUARDSYM:__C_specific_handler,S.obj: no such file or directory
On Thu, Sep 3, 2015 at 4:45 PM, Rui Ueyama <ruiu at google.com> wrote:
> What error message did you get? What
> http://lld.llvm.org/windows_support.html says is correct -- except debug
> info, the linker should be pretty much usable as a drop-in rep...
2014 Nov 13
2
[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR
...to label %__try.cont unwind label %lpad
filter:
%eh_code = call i32 @llvm.eh.seh.exception_code() ; or similar
%cmp = icmp eq i32 %eh_code, 0xC0000094
%r = zext i1 %cmp to i32
call void @llvm.eh.seh.filter(i32 %r)
lpad:
%0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
catch label %filter
store i32 0, i32* %r, align 4
br label %__try.cont
__try.cont:
%2 = load i32* %r, align 4
ret i32 %2
}
define internal void @try_body(i32* %r, i32* %n, i32* %d) {
entry:
%0 = load i32* %n, align 4
%1 = load i32* %d, align 4
%div = sdiv i32 %0, %...
2015 Apr 16
2
[LLVMdev] Exception filter IR model
...looks like so:
store i32 2, i32* %x, align 4
invoke void bitcast (void (...)* @may_throw to void ()*)() #4
to label %invoke.cont unwind label %lpad
lpad: ; preds = %entry
%1 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
cleanup
catch i8* bitcast (i32 (i8*, i8*)* @"\01?filt$0 at 0@foo@@" to i8*)
%2 = extractvalue { i8*, i32 } %1, 0
store i8* %2, i8** %exn.slot
%3 = extractvalue { i8*, i32 } %1, 1
store i32 %3, i32* %ehselector.slot
store i8 1, i8* %abnormal.terminatio...
2019 May 15
0
Wine release 4.0.1
...dll.WMCheckURLExtension
44469 Multiple apps using Windows 10 v1507+ UCRT crash due to multiple missing api-ms-win-crt-private-l1-1-0.dll._o__xxx stubs/forwards (Win10 DISM pkgmgr.exe, MS DirectX Shader Compiler)
45326 Multiple 64-bit kernel drivers crash on unimplemented function ntoskrnl.exe.__C_specific_handler (NoxPlayer 6.x, MTA:SA 1.5.x)
45473 Rogue Squadron 3D crashes on startup
45631 League of Legends client crashes when joining a lobby with other players
45632 Garena client v2.0.x crashes on startup ('ntdll.NtQueryVirtualMemory' needs to validate 'MemoryInformationLength' be...
2012 Feb 15
3
Wine crashes
ive read the FAQ and saw that a common problem with emulating games is system freezes/seizures. i followed the FAQ and re-installed my graphics drivers with no success. i think i must be missing something when trying to run wine, but i dont know what it is because this is my first ever Linux install.
i cannot run any type of .exe without it freezing my system entirely- i have to restart it. any
2015 Sep 03
2
lld on Windows
What's the current state of affairs regarding lld on Windows - how much of
it is supposed to work? The documentation at
http://lld.llvm.org/windows_support.html suggests it should pretty much
work provided you don't need exceptions or debug info (though that
documentation seems to be from last year), but when I tried it on a 'hello
world' C program, it gave error messages; is it
2015 Feb 13
2
[LLVMdev] C++ exception handling
(Moving this discussion on list as this could be of general interest.)
My current work-in-progress implementation is attempting to map out the blocks used by a landing pad before it starts outlining. It creates a table of catch and cleanup handlers with the block at which each one starts. During outlining I intend to have another mechanism to check to see if we’ve already outlined the handler
2019 Feb 04
0
Wine release 4.1
...v1507+ UCRT crash due to multiple missing api-ms-win-crt-private-l1-1-0.dll._o__xxx stubs/forwards (Win10 DISM pkgmgr.exe, MS DirectX Shader Compiler)
44941 Bioshock Remastered doesn't start in windowed mode
45326 Multiple 64-bit kernel drivers crash on unimplemented function ntoskrnl.exe.__C_specific_handler (NoxPlayer 6.x, MTA:SA 1.5.x)
45447 [World of Tanks] Borderless window broken since 1.0.2
46137 NI Kontakt 5 crashes on unimplemented function msvcp140.dll.?_Getcat@?$time_get at _WV?$istreambuf_iterator at _WU?$char_traits at _W@std@@@std@@@std@@SAIPAPBVfacet at locale@2 at PBV42@@Z
46298...
2016 Aug 19
0
Wine release 1.9.17
...ns from concrt140.
msvcp140: Take _Mtx_t and _Cnd_t directly.
msvcp140: Add _Mtx_init/destroy_in_situ.
vcomp140: Add vcomp140 stub.
msvcp140: Don't redirect _Cnd/Mtx_t to msvcp110.
msvcp140: Add _Query_perf_[counter|frequency].
ntdll: Call __finally blocks in __C_specific_handler.
msvcp140: Forward __ExceptionPtr* to msvcr120.
msvcp110: Use sentry in istream<>::tellg.
msvcp110: Use sentry in istream<>::seekg.
msvcr120: Add forwards for wcstoll and wcstoll_l.
msvcr120: Add lgamma.
ucrtbase: Add __stdio_common_vfwscanf.
ke...
2014 Nov 14
2
[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR
...the outlining happens at the IR level, we need some way to represent that, and I don't really have it nailed down.
Here's an idea, just to brainstorm:
define void @parent() {
invoke ... unwind to %lpad
...
lpad:
%eh_vals = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
cleanup
catch i8* @typeid1
catch i8* @typeid2
%label = call i8* (...)* @llvm.eh.outlined_handlers(
void (i8*, i8*)* @my_cleanup,
i8* @typeid1, i8* (i8*, i8*)* @my_catch1,
i8* @typeid2, i8* (i8*, i8*)* @my_catch2)
indirectbr i8* %label
endcatch:
......
2014 Nov 13
2
[LLVMdev] RFC: How to represent SEH (__try / __except) in LLVM IR
Thanks for the additional information.
Right now I’m experimenting with a mix of code compiled with MSVC and code compiled with clang, trying to get a C++ exception thrown and caught by the MSVC-compiled code across a function in the clang-compiled code. My goal here is to isolate a small part of what needs to be done in a way that lends itself to tinkering. I think this might lead me to the
2015 May 18
2
[LLVMdev] RFC: New EH representation for MSVC compatibility
On Sat, May 16, 2015 at 7:29 AM, Steve Cheng <steve.ckp at gmail.com> wrote:
> On 2015-05-15 18:37:58 -0400, Reid Kleckner said:
>
> After a long tale of sorrow and woe, my colleagues and I stand here
>> before you defeated. The Itanium EH representation is not amenable to
>> implementing MSVC-compatible exceptions. We need a new representation that
>> preserves
2020 Apr 01
2
[RFC] [Windows SEH] Local_Unwind (Jumping out of a _finally) and -EHa (Hardware Exception Handling)
...ssigned the same EH state as the original goto target so that the local unwinding can be correctly landing at the right EH scope.
For example, the IR of above example today is briefly listed below.
________________________________
define dso_local i32 @main() #0 personality i8* bitcast (i32 (...)* @__C_specific_handler
..
%28 = invoke i32 bitcast (i32 (...)* @RtlRaiseException to
to label %29 unwind label %35,
; <label>:29: ; preds = %27
br label %30,
; <label>:30: ; preds = %29, %15
%31 = call i8* @llvm.localaddress(),
invoke void @"?fin at 0@main@@"(i8 0, i8* %31) #7
to label %32 unwind la...
2010 Jan 22
0
Wine release 1.1.37
...mapi32/tests: Report skip for MAPIGetDefaultMalloc.
mapi32/tests: Fix the PropCopyMore tests and add an additional test.
mapi32/tests: Centralize property function pointer initialization.
Andr? Hentschel (5):
kernel32/tests: Simplify string generation.
msvcrt: Forward __C_specific_handler to ntdll.
msvcrt/tests: Add some demangle tests.
msvcrt: Fix typo.
kernel32/tests: Initial fiber tests.
Aric Stewart (1):
oleaut32: Do not crash in logging if string is NULL.
Austin English (1):
winecoreaudio.drv: Reorder includes to avoid OS X bug.
Christian Costa...
2015 Feb 13
2
[LLVMdev] C++ exception handling
...(!r)
goto mylabel;
}
}
// Simplified IR:
define void @f() {
%abnormal_termination = alloca i8
invoke void @might_crash()
to label %cont unwind label %lpad
cont:
store i8 0, i8* %abnormal_termination
br label %__finally
lpad:
landingpad { i8*, i32 } personality i32 (...)* @__C_specific_handler
cleanup
store i8 1, i8* %abnormal_termination
br label %__finally
__finally: ; code simplified for brevity
%r = call i1 @do_cleanup()
br i1 %r, label %__finally, label %done
done:
%ab = load i8* %abnormal_termination
%tobool = icmp eq i8 %ab, i8 0
br i1 %tobool, label %ret, labe...