Exception handling
Andrew Haley
aph@redhat.com
Wed May 31 08:32:00 GMT 2017
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
More information about the Gcc-help
mailing list