亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? exception.c

?? gcc的組件
?? C
字號:
/* The implementation of exception handling primitives for Objective-C.   Copyright (C) 2004 Free Software Foundation, Inc.This file is part of GCC.GCC is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2, or (at your option) anylater version.GCC is distributed in the hope that it will be useful, but WITHOUTANY WARRANTY; without even the implied warranty of MERCHANTABILITY orFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General PublicLicense for more details.You should have received a copy of the GNU General Public Licensealong with GCC; see the file COPYING.  If not, write tothe Free Software Foundation, 51 Franklin Street, Fifth Floor,Boston, MA 02110-1301, USA.  *//* As a special exception, if you link this library with files compiled   with GCC to produce an executable, this does not cause the resulting   executable to be covered by the GNU General Public License.  This   exception does not however invalidate any other reasons why the   executable file might be covered by the GNU General Public License. */#include <stdlib.h>#include "config.h"#include "objc/objc-api.h"#include "unwind.h"#include "unwind-pe.h"/* This is the exception class we report -- "GNUCOBJC".  */#define __objc_exception_class			\  ((((((((_Unwind_Exception_Class) 'G'		\         << 8 | (_Unwind_Exception_Class) 'N')	\        << 8 | (_Unwind_Exception_Class) 'U')	\       << 8 | (_Unwind_Exception_Class) 'C')	\      << 8 | (_Unwind_Exception_Class) 'O')	\     << 8 | (_Unwind_Exception_Class) 'B')	\    << 8 | (_Unwind_Exception_Class) 'J')	\   << 8 | (_Unwind_Exception_Class) 'C')/* This is the object that is passed around by the Objective C runtime   to represent the exception in flight.  */struct ObjcException{  /* This bit is needed in order to interact with the unwind runtime.  */  struct _Unwind_Exception base;  /* The actual object we want to throw.  */  id value;  /* Cache some internal unwind data between phase 1 and phase 2.  */  _Unwind_Ptr landingPad;  int handlerSwitchValue;};struct lsda_header_info{  _Unwind_Ptr Start;  _Unwind_Ptr LPStart;  _Unwind_Ptr ttype_base;  const unsigned char *TType;  const unsigned char *action_table;  unsigned char ttype_encoding;  unsigned char call_site_encoding;};static const unsigned char *parse_lsda_header (struct _Unwind_Context *context, const unsigned char *p,		   struct lsda_header_info *info){  _Unwind_Word tmp;  unsigned char lpstart_encoding;  info->Start = (context ? _Unwind_GetRegionStart (context) : 0);  /* Find @LPStart, the base to which landing pad offsets are relative.  */  lpstart_encoding = *p++;  if (lpstart_encoding != DW_EH_PE_omit)    p = read_encoded_value (context, lpstart_encoding, p, &info->LPStart);  else    info->LPStart = info->Start;  /* Find @TType, the base of the handler and exception spec type data.  */  info->ttype_encoding = *p++;  if (info->ttype_encoding != DW_EH_PE_omit)    {      p = read_uleb128 (p, &tmp);      info->TType = p + tmp;    }  else    info->TType = 0;  /* The encoding and length of the call-site table; the action table     immediately follows.  */  info->call_site_encoding = *p++;  p = read_uleb128 (p, &tmp);  info->action_table = p + tmp;  return p;}static Classget_ttype_entry (struct lsda_header_info *info, _Unwind_Word i){  _Unwind_Ptr ptr;  i *= size_of_encoded_value (info->ttype_encoding);  read_encoded_value_with_base (info->ttype_encoding, info->ttype_base,				info->TType - i, &ptr);  /* NULL ptr means catch-all.  */  if (ptr)    return objc_get_class ((const char *) ptr);  else    return 0;}/* Like unto the method of the same name on Object, but takes an id.  *//* ??? Does this bork the meta-type system?  Can/should we look up an   isKindOf method on the id?  */static intisKindOf (id value, Class target){  Class c;  /* NULL target is catch-all.  */  if (target == 0)    return 1;  for (c = value->class_pointer; c; c = class_get_super_class (c))    if (c == target)      return 1;  return 0;}/* Using a different personality function name causes link failures   when trying to mix code using different exception handling models.  */#ifdef SJLJ_EXCEPTIONS#define PERSONALITY_FUNCTION	__gnu_objc_personality_sj0#define __builtin_eh_return_data_regno(x) x#else#define PERSONALITY_FUNCTION	__gnu_objc_personality_v0#endif_Unwind_Reason_CodePERSONALITY_FUNCTION (int version,		      _Unwind_Action actions,		      _Unwind_Exception_Class exception_class,		      struct _Unwind_Exception *ue_header,		      struct _Unwind_Context *context){  struct ObjcException *xh = (struct ObjcException *) ue_header;  struct lsda_header_info info;  const unsigned char *language_specific_data;  const unsigned char *action_record;  const unsigned char *p;  _Unwind_Ptr landing_pad, ip;  int handler_switch_value;  int saw_cleanup = 0, saw_handler;  void *return_object;  /* Interface version check.  */  if (version != 1)    return _URC_FATAL_PHASE1_ERROR;  /* Shortcut for phase 2 found handler for domestic exception.  */  if (actions == (_UA_CLEANUP_PHASE | _UA_HANDLER_FRAME)      && exception_class == __objc_exception_class)    {      handler_switch_value = xh->handlerSwitchValue;      landing_pad = xh->landingPad;      goto install_context;    }  language_specific_data = (const unsigned char *)    _Unwind_GetLanguageSpecificData (context);  /* If no LSDA, then there are no handlers or cleanups.  */  if (! language_specific_data)    return _URC_CONTINUE_UNWIND;  /* Parse the LSDA header.  */  p = parse_lsda_header (context, language_specific_data, &info);  info.ttype_base = base_of_encoded_value (info.ttype_encoding, context);  ip = _Unwind_GetIP (context) - 1;  landing_pad = 0;  action_record = 0;  handler_switch_value = 0;#ifdef SJLJ_EXCEPTIONS  /* The given "IP" is an index into the call-site table, with two     exceptions -- -1 means no-action, and 0 means terminate.  But     since we're using uleb128 values, we've not got random access     to the array.  */  if ((int) ip < 0)    return _URC_CONTINUE_UNWIND;  else    {      _Unwind_Word cs_lp, cs_action;      do	{	  p = read_uleb128 (p, &cs_lp);	  p = read_uleb128 (p, &cs_action);	}      while (--ip);      /* Can never have null landing pad for sjlj -- that would have         been indicated by a -1 call site index.  */      landing_pad = cs_lp + 1;      if (cs_action)	action_record = info.action_table + cs_action - 1;      goto found_something;    }#else  /* Search the call-site table for the action associated with this IP.  */  while (p < info.action_table)    {      _Unwind_Ptr cs_start, cs_len, cs_lp;      _Unwind_Word cs_action;      /* Note that all call-site encodings are "absolute" displacements.  */      p = read_encoded_value (0, info.call_site_encoding, p, &cs_start);      p = read_encoded_value (0, info.call_site_encoding, p, &cs_len);      p = read_encoded_value (0, info.call_site_encoding, p, &cs_lp);      p = read_uleb128 (p, &cs_action);      /* The table is sorted, so if we've passed the ip, stop.  */      if (ip < info.Start + cs_start)	p = info.action_table;      else if (ip < info.Start + cs_start + cs_len)	{	  if (cs_lp)	    landing_pad = info.LPStart + cs_lp;	  if (cs_action)	    action_record = info.action_table + cs_action - 1;	  goto found_something;	}    }#endif /* SJLJ_EXCEPTIONS  */  /* If ip is not present in the table, C++ would call terminate.  */  /* ??? As with Java, it's perhaps better to tweek the LSDA to     that no-action is mapped to no-entry.  */  return _URC_CONTINUE_UNWIND; found_something:  saw_cleanup = 0;  saw_handler = 0;  if (landing_pad == 0)    {      /* If ip is present, and has a null landing pad, there are	 no cleanups or handlers to be run.  */    }  else if (action_record == 0)    {      /* If ip is present, has a non-null landing pad, and a null         action table offset, then there are only cleanups present.         Cleanups use a zero switch value, as set above.  */      saw_cleanup = 1;    }  else    {      /* Otherwise we have a catch handler.  */      _Unwind_Sword ar_filter, ar_disp;      while (1)	{	  p = action_record;	  p = read_sleb128 (p, &ar_filter);	  read_sleb128 (p, &ar_disp);	  if (ar_filter == 0)	    {	      /* Zero filter values are cleanups.  */	      saw_cleanup = 1;	    }	  /* During forced unwinding, we only run cleanups.  With a	     foreign exception class, we have no class info to match.  */	  else if ((actions & _UA_FORCE_UNWIND)		   || exception_class != __objc_exception_class)	    ;	  else if (ar_filter > 0)	    {	      /* Positive filter values are handlers.  */	      Class catch_type = get_ttype_entry (&info, ar_filter);	      if (isKindOf (xh->value, catch_type))		{		  handler_switch_value = ar_filter;		  saw_handler = 1;		  break;		}	    }	  else	    {	      /* Negative filter values are exception specifications,	         which Objective-C does not use.  */	      abort ();	    }	  if (ar_disp == 0)	    break;	  action_record = p + ar_disp;	}    }  if (! saw_handler && ! saw_cleanup)    return _URC_CONTINUE_UNWIND;  if (actions & _UA_SEARCH_PHASE)    {      if (!saw_handler)	return _URC_CONTINUE_UNWIND;      /* For domestic exceptions, we cache data from phase 1 for phase 2.  */      if (exception_class == __objc_exception_class)        {          xh->handlerSwitchValue = handler_switch_value;          xh->landingPad = landing_pad;	}      return _URC_HANDLER_FOUND;    } install_context:  if (saw_cleanup == 0)    {      return_object = xh->value;      if (!(actions & _UA_SEARCH_PHASE))	_Unwind_DeleteException(&xh->base);    }    _Unwind_SetGR (context, __builtin_eh_return_data_regno (0),		 __builtin_extend_pointer (saw_cleanup ? xh : return_object));  _Unwind_SetGR (context, __builtin_eh_return_data_regno (1),		 handler_switch_value);  _Unwind_SetIP (context, landing_pad);  return _URC_INSTALL_CONTEXT;}static void__objc_exception_cleanup (_Unwind_Reason_Code code __attribute__((unused)),			  struct _Unwind_Exception *exc){  free (exc);}voidobjc_exception_throw (id value){  struct ObjcException *header = calloc (1, sizeof (*header));  header->base.exception_class = __objc_exception_class;  header->base.exception_cleanup = __objc_exception_cleanup;  header->value = value;#ifdef SJLJ_EXCEPTIONS  _Unwind_SjLj_RaiseException (&header->base);#else  _Unwind_RaiseException (&header->base);#endif  /* Some sort of unwinding error.  */  abort ();}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产高清一区| 久久久久高清精品| 国产日韩欧美亚洲| 一区二区日韩av| 国产综合色在线视频区| 欧美视频完全免费看| 久久综合九色欧美综合狠狠| 亚洲成人自拍偷拍| av一区二区久久| 欧美大胆人体bbbb| 亚洲电影中文字幕在线观看| 国产成人精品免费网站| 制服丝袜一区二区三区| 亚洲免费视频中文字幕| 国产盗摄女厕一区二区三区| 欧美顶级少妇做爰| 亚洲卡通动漫在线| 播五月开心婷婷综合| 国产亚洲综合色| 日韩1区2区3区| 欧美少妇一区二区| 国产精品久久久久久久蜜臀| 麻豆国产精品官网| 91精品在线免费观看| 一区二区三区欧美激情| 色综合天天综合色综合av| 欧美国产欧美亚州国产日韩mv天天看完整 | 成人欧美一区二区三区1314| 狠狠久久亚洲欧美| 日韩欧美国产一二三区| 秋霞电影网一区二区| 欧美福利视频一区| 丝袜亚洲另类丝袜在线| 6080午夜不卡| 麻豆国产精品777777在线| 日韩欧美一区二区在线视频| 蜜桃久久久久久| 日韩欧美综合在线| 日本三级亚洲精品| 日韩一区二区三区在线视频| 日韩国产欧美三级| 精品日韩在线一区| 国产在线一区观看| 国产婷婷一区二区| 成人av电影在线网| 一区二区久久久久久| 欧美视频一区二区三区| 日韩影院精彩在线| 日韩精品自拍偷拍| 国产剧情一区二区| 国产精品另类一区| 91高清视频免费看| 日韩黄色一级片| 久久综合久色欧美综合狠狠| 国产成人av一区二区三区在线| 中文字幕国产一区| 色婷婷国产精品| 日本不卡视频一二三区| 久久综合久久久久88| 9色porny自拍视频一区二区| 一区二区三区毛片| 欧美mv和日韩mv的网站| 成人毛片老司机大片| 亚洲777理论| 精品国产1区二区| 99re8在线精品视频免费播放| 亚洲国产综合人成综合网站| 日韩午夜精品电影| k8久久久一区二区三区| 日韩福利视频导航| 欧美激情中文字幕一区二区| 欧美日韩一区三区| 国产一区二区三区四区在线观看| 亚洲四区在线观看| 欧美变态口味重另类| 色噜噜狠狠成人中文综合| 久久99蜜桃精品| 亚洲精品免费在线观看| 久久毛片高清国产| 欧美日韩国产免费| 成人午夜免费视频| 久久国产精品99久久人人澡| 亚洲女同ⅹxx女同tv| 欧美变态tickling挠脚心| 91黄色免费网站| 丰满放荡岳乱妇91ww| 免费观看30秒视频久久| 有码一区二区三区| 国产精品―色哟哟| 日韩一区二区三区视频| 欧美性感一类影片在线播放| 国产成人精品1024| 日韩中文欧美在线| 亚洲精品国产视频| 欧美国产亚洲另类动漫| 亚洲精品一区二区在线观看| 欧美日韩成人综合在线一区二区 | 精品入口麻豆88视频| 在线一区二区三区做爰视频网站| 国产精品影视网| 美国欧美日韩国产在线播放| 亚洲激情图片一区| 亚洲欧美一区二区不卡| 中文字幕电影一区| 久久综合九色综合欧美亚洲| 日韩欧美一级片| 777a∨成人精品桃花网| 欧美在线观看视频在线| 欧美中文一区二区三区| 色综合久久天天综合网| 99视频精品全部免费在线| 国产成人一区在线| 懂色av一区二区三区免费看| 国产一区二区0| 韩国精品主播一区二区在线观看| 麻豆久久一区二区| 免费一级片91| 精品一区二区三区视频在线观看| 日本伊人色综合网| 日韩精品电影在线| 日本美女视频一区二区| 日本sm残虐另类| 久久99久久久欧美国产| 久久99精品久久久久久久久久久久| 石原莉奈在线亚洲二区| 午夜欧美在线一二页| 日本最新不卡在线| 免费成人美女在线观看| 黄色小说综合网站| 国产美女精品在线| 不卡一区二区中文字幕| www.综合网.com| 日本高清不卡一区| 欧美三级视频在线| 日韩欧美中文字幕公布| 久久美女高清视频| 亚洲人精品一区| 午夜精品爽啪视频| 捆绑调教美女网站视频一区| 国产一区二区日韩精品| jiyouzz国产精品久久| 欧日韩精品视频| 91精品国产全国免费观看| 欧美精品一区二区三区在线| 日本一区二区三区视频视频| 亚洲欧美另类久久久精品| 午夜精品久久一牛影视| 国产精品一二一区| 99r国产精品| 这里只有精品视频在线观看| wwwwww.欧美系列| 亚洲欧洲成人精品av97| 日精品一区二区三区| 国产成人精品免费视频网站| 色婷婷精品久久二区二区蜜臂av | 久久女同精品一区二区| 亚洲日本一区二区| 九色porny丨国产精品| 99久久精品免费看| 91精品国产高清一区二区三区蜜臀| www亚洲一区| 亚洲国产一区二区a毛片| 国产在线播放一区三区四| 一本大道综合伊人精品热热| 日韩一级完整毛片| 亚洲欧美aⅴ...| 国产精品一区二区果冻传媒| 欧美亚洲综合一区| 中文字幕免费一区| 久久精品国产精品亚洲精品| 在线观看日韩av先锋影音电影院| 日韩区在线观看| 亚洲午夜影视影院在线观看| 粗大黑人巨茎大战欧美成人| 在线不卡中文字幕播放| 亚洲欧美自拍偷拍色图| 激情综合色播激情啊| 欧美三级在线视频| 亚洲欧洲日产国码二区| 日韩精品一区二区三区中文不卡 | 欧美一区二区人人喊爽| 国产精品女上位| 久久99精品国产.久久久久久| 99re热视频精品| 国产欧美一区二区三区网站| 日本视频免费一区| 欧美三级日韩在线| 亚洲视频在线观看一区| 国产精品亚洲人在线观看| 欧美大片在线观看一区| 五月综合激情日本mⅴ| 日本久久一区二区| 日韩电影在线观看网站| 欧美性猛交xxxx乱大交退制版| 国产精品国产三级国产三级人妇 | 国产乱子伦一区二区三区国色天香| 色噜噜狠狠成人中文综合| 波多野结衣中文字幕一区二区三区| 中文字幕永久在线不卡| av亚洲精华国产精华精|