Article View: pl.comp.lang.c
Article #307947Re: Jak są zaimplementowane wyjątki ?
From: Borneq
Date: Mon, 14 Aug 2017 06:25
Date: Mon, 14 Aug 2017 06:25
25 lines
2034 bytes
2034 bytes
W dniu 14.12.2015 o 15:50, Matt D. pisze: > Specyfikacja: > https://mentorembedded.github.io/cxx-abi/abi-eh.html > > Opis: > http://llvm.org/docs/ExceptionHandling.html > http://blog.kevmod.com/2014/05/digging-into-exception-handling/ > https://monoinfinito.wordpress.com/series/exception-handling-in-c/ > http://www.deadp0rk.com/2013/09/22/base_abi/ > http://www.deadp0rk.com/2013/09/27/c-exception-handling-level-ii-abi/ > > StackOverflow: > https://stackoverflow.com/questions/16597350/what-is-an-exception-handling-personality-function > > https://stackoverflow.com/questions/20027156/llvm-exception-handling-implementation > > > Zob. tez: > https://mentorembedded.github.io/cxx-abi/exceptions.pdf > https://github.com/MentorEmbedded/cxx-abi/blob/master/MIPSCompactEH.pdf Dzięki Matt. Jeśli chodzi o SEH, mają tę zaletę że również wyłapują sprzętowe błędy, nie tylko dzielenie przez zero, ale zapis pod zły adres, zamiast tylko działać na wyjątkach generowanych przez throw. Wada - wymagane wspomaganie systemu, brak przenośności.
Technical Details
Message-ID:
<omrfp4$llu$1@node2.news.atman.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mailReferences:
<n4durn$q3e$1@node1.news.atman.pl> <n4ml0a$tse$1@portraits.wsisiz.edu.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: pl.comp.lang.c Subject: Re: Jak są zaimplementowane wyjątki ? Date: Mon, 14 Aug 2017 08:25:41 +0200 Organization: ATMAN - ATM S.A. Lines: 25 Message-ID: <omrfp4$llu$1@node2.news.atman.pl> References: <n4durn$q3e$1@node1.news.atman.pl> <n4ml0a$tse$1@portraits.wsisiz.edu.pl> NNTP-Posting-Host: 91.239.205.105 Mime-Version: 1.0 X-Trace: node2.news.atman.pl 1502691940 22206 91.239.205.105 (14 Aug 2017 06:25:40 GMT) X-Complaints-To: usenet@atman.pl NNTP-Posting-Date: Mon, 14 Aug 2017 06:25:40 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 In-Reply-To: <n4ml0a$tse$1@portraits.wsisiz.edu.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit