search for: catch_all

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

2009 May 12
1
[LLVMdev] How distinguish Catch all llvm-IR from other catch type ?
Hi, catch_all.cpp: 1 int main() 2 { 3 try { 4 throw 34; 5 } 6 catch (...) {} 7 } llvm-gcc -O3 -S -emit-llvm catch_all.cpp -o catch_all.ll: 1 ; ModuleID = 'catch_all.cpp' 2 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8...
2019 Nov 08
2
Exceptions on Windows & MSVC
...ted since 2015, was there any progress since? This is most likely known, but there's significant divergence between the behavior of MSVC cl.exe and clang-cl.exe: Consider: void crash() { struct A { ~A() {} } Obj; *(volatile int *)0x11 = 0; } #ifdef SEH #define TRY __try #define CATCH_ALL __except (1) #else #define TRY try #define CATCH_ALL catch (...) #endif int main() { TRY { crash(); } CATCH_ALL {} return 0; } using try/catch (SEH not defined): | (default) | /EHa | /EHs | -------------------...
2007 Jun 11
24
multiple routing tables for internal router programs
Maybe a strange request, I''ll try to explain this as clearer as I can (forgive my bad english, please :-) ). I''m setting a linux box as a router. My router uses multiple routing tables, so I can address the traffic from specific ip addresses of my lan to distinct ISPs providers (specifying a different default gateway fo r each table), marking packets with iptables