Home | History | Annotate | Download | only in sanitizer_common

Lines Matching defs:pc

23 //  - __sanitizer_cov(): record that we've executed the PC (GET_CALLER_PC).
82 void Add(uptr pc, u32 *guard);
110 // Maximal size pc array may ever grow.
114 // The amount file mapping for the pc array is grown by.
124 // Current file mapped size of the pc array.
126 // Descriptor of the file mapped pc array.
137 // Vector of module and compilation unit pc ranges.
291 // Extend coverage PC array to fit additional npcs elements.
368 // we insert the global counter into the first 16 bits of the PC.
369 uptr BundlePcAndCounter(uptr pc, uptr counter) {
371 return pc;
375 CHECK_EQ(0, pc >> (SANITIZER_WORDSIZE - kBundleCounterBits));
376 return pc | (counter << (SANITIZER_WORDSIZE - kBundleCounterBits));
391 // If guard is negative, atomically set it to -guard and store the PC in
393 void CoverageData::Add(uptr pc, u32 *guard) {
407 pc_array[idx] = BundlePcAndCounter(pc, counter);
669 // Record the current PC into the event buffer.
718 uptr pc = UnbundlePc(pc_array[i]);
719 out[i] = pc ? '1' : '0';
720 if (pc)
750 uptr pc = UnbundlePc(pc_array[i]);
752 if (!pc) continue; // Not visited.
754 sym->GetModuleNameAndOffsetForPC(pc, nullptr, &offset);