Lines Matching defs:Personality
262 // Always emit some info, by default "no personality" info.
409 /// addPersonality - Provide the personality function for the exception
412 const Function *Personality) {
414 LP.Personality = Personality;
417 if (Personalities[i] == Personality)
420 // If this is the first personality we're adding go
423 Personalities[0] = Personality;
425 Personalities.push_back(Personality);
549 /// getPersonality - Return the personality function for the current function.
551 // FIXME: Until PR1414 will be fixed, we're using 1 personality function per
553 return !LandingPads.empty() ? LandingPads[0].Personality : NULL;
556 /// getPersonalityIndex - Return unique index for current personality
557 /// function. NULL/first personality function should always get zero index.
559 const Function* Personality = NULL;
561 // Scan landing pads. If there is at least one non-NULL personality - use it.
563 if (LandingPads[i].Personality) {
564 Personality = LandingPads[i].Personality;
569 if (Personalities[i] == Personality)
573 // This will happen if the current personality function is