Re: Exception handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29/05/17 10:00, Flis, Przemyslaw (Nokia - PL/Wroclaw) wrote:

> as far as I know, the way of handling exceptions "under the hood" is
> not defined in C++ standard. In "Technical report on C++
> performance" from 2008, I've found two main approaches to exception
> handling - so called "code" and "table" approach. Is there any way
> to determine which is used by gcc compiler?

I've never seen anything except "table".

> Does it depend on platform (i.e. ARM, x86 etc.) or compiler version?

It depends on the processor-speific ABI, which is defined by the
operating system.  For example,

http://refspecs.linuxfoundation.org/elf/x86_64-abi-0.95.pdf

at

http://refspecs.linuxfoundation.org/

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux