Home | History | Annotate | Download | only in src

Lines Matching defs:ttypeIndex

87 | Beginning of Action Table       ttypeIndex == 0 : cleanup           |
88 | ... ttypeIndex > 0 : catch |
89 | ttypeIndex < 0 : exception spec |
91 | | ttypeIndex | (SLEB128) | Index into type_info Table (1-based) | |
98 | | Nth type_info* | Encoded with ttypeEncoding, 0 means catch(...) | ttypeIndex == N | |
102 | | 1st type_info* | Encoded with ttypeEncoding, 0 means catch(...) | ttypeIndex == 1 | |
105 | | 1st ttypeIndex for 1st exception spec | (ULEB128) | classInfoOffset points here! | |
107 | | Mth ttypeIndex for 1st exception spec | (ULEB128) | | |
116 | | 1st ttypeIndex for Nth exception spec | (ULEB128) | | |
118 | | Mth ttypeIndex for Nth exception spec | (ULEB128) | | |
125 * ttypeIndex in the Action Table, and in the exception spec table, is an index,
128 But if ttypeIndex is negative, it is a positive 1-based byte offset into the
130 And if ttypeIndex is zero, it refers to a catch (...).
138 the Action Table with ttypeIndex == 0.
337 get_shim_type_info(uint64_t ttypeIndex, const uint8_t* classInfo,
350 const uint8_t* ttypePtr = classInfo - ttypeIndex * sizeof(uintptr_t);
357 get_shim_type_info(uint64_t ttypeIndex, const uint8_t* classInfo,
369 ttypeIndex *= sizeof(void*);
373 ttypeIndex *= 2;
377 ttypeIndex *= 4;
381 ttypeIndex *= 8;
387 classInfo -= ttypeIndex;
429 // (instead of ttypeIndex). The table will be terminated with 0.
463 uint64_t ttypeIndex = readULEB128(&temp);
464 if (ttypeIndex == 0)
466 const __shim_type_info* catchType = get_shim_type_info(ttypeIndex,
496 int64_t ttypeIndex; // > 0 catch handler, < 0 exception spec handler, == 0 a cleanup
517 static_cast<uintptr_t>(results.ttypeIndex));
547 results.ttypeIndex = 0;
676 results.ttypeIndex = 0; // Redundant but clarifying
691 int64_t ttypeIndex = readSLEB128(&action);
692 if (ttypeIndex > 0)
697 get_shim_type_info(static_cast<uint64_t>(ttypeIndex),
710 results.ttypeIndex = ttypeIndex;
746 results.ttypeIndex = ttypeIndex;
763 else if (ttypeIndex < 0)
779 if (exception_spec_can_catch(ttypeIndex, classInfo,
790 results.ttypeIndex = ttypeIndex;
815 results.ttypeIndex = ttypeIndex;
831 else // ttypeIndex == 0
840 results.ttypeIndex = ttypeIndex;
951 exception_header->handlerSwitchValue = static_cast<int>(results.ttypeIndex);
976 results.ttypeIndex = exception_header->handlerSwitchValue;
1073 unwind_exception->barrier_cache.bitpattern[4] = (uint32_t)results.ttypeIndex;
1083 results.ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4];
1205 int64_t ttypeIndex;
1215 ttypeIndex = (int64_t)(int32_t)unwind_exception->barrier_cache.bitpattern[4];
1218 ttypeIndex = old_exception_header->handlerSwitchValue;
1254 // Is this new exception catchable by the exception spec at ttypeIndex?
1275 if (!exception_spec_can_catch(ttypeIndex, classInfo, ttypeEncoding,
1297 // ttypeIndex?
1304 if (!exception_spec_can_catch(ttypeIndex, classInfo, ttypeEncoding,