/external/compiler-rt/lib/tsan/rtl/ |
tsan_update_shadow_word_inl.h | 31 if (Shadow::Addr0AndSizeAreEqual(cur, old)) { 34 if (Shadow::TidsAreEqual(old, cur)) { 61 if (kCppMode && Shadow::TwoRangesIntersect(old, cur, kAccessSize)) { 63 if (Shadow::TidsAreEqual(old, cur)) {
|
tsan_rtl.h | 212 friend class Shadow; 220 // Shadow (from most significant bit): 228 class Shadow : public FastState { 230 explicit Shadow(u64 x) 234 explicit Shadow(const FastState &s) 270 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) { 276 static inline bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) { 281 static inline bool TwoRangesIntersect(Shadow s1, Shadow s2 [all...] |
tsan_rtl.cc | 322 static Shadow LoadShadow(u64 *p) { 324 return Shadow(raw); 339 Shadow cur, Shadow old) { 350 static inline bool OldIsInSameSynchEpoch(Shadow old, ThreadState *thr) { 354 static inline bool HappensBefore(Shadow old, ThreadState *thr) { 361 u64 *shadow_mem, Shadow cur) { 372 // scan all the shadow values and dispatch to 4 categories: 380 Shadow old(0); 448 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr) [all...] |
tsan_rtl_report.cc | 145 void ScopedReport::AddMemoryAccess(uptr addr, Shadow s, 577 Shadow s0(thr->racy_state[0]); 578 Shadow s1(thr->racy_state[1]); 603 Shadow s(thr->racy_state[1]); 612 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0(); 613 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0(); 614 uptr e0 = a0 + Shadow(thr->racy_state[0]).size(); 615 uptr e1 = a1 + Shadow(thr->racy_state[1]).size(); 634 Shadow s2(thr->racy_state[1]); 641 Shadow s(thr->racy_state[i]) [all...] |
tsan_rtl_thread.cc | 100 // Setup dynamic shadow stack. 296 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); 300 Printf("Bad shadow addr %p (%zx)\n", 321 Shadow cur(fast_state); 332 Shadow cur(fast_state); 342 Shadow cur(fast_state); 364 Shadow cur(fast_state);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_shadow_test.cc | 19 TEST(Shadow, FastState) { 20 Shadow s(FastState(11, 22)); 49 TEST(Shadow, Mapping) { 64 TEST(Shadow, Celling) {
|
/external/llvm/lib/Transforms/Instrumentation/ |
MemorySanitizer.cpp | 16 /// (http://goo.gl/QKbem). We associate a few shadow bits with every 17 /// byte of the application memory, poison the shadow of the malloc-ed 18 /// or alloca-ed memory, load the shadow bits on every memory read, 19 /// propagate the shadow bits through some of the arithmetic 20 /// instruction (including MOV), store the shadow bits on every memory 22 /// associated shadow is poisoned. 32 /// Another difference from Memcheck is that we use 8 shadow bits per 33 /// byte of application memory and use a direct shadow mapping. This 35 /// shadow updates (Memcheck is single-threaded so races are not a 36 /// concern there. Memcheck uses 2 shadow bits per byte with a slo [all...] |
AddressSanitizer.cpp | 133 // These flags allow to change the shadow mapping. 134 // The shadow mapping looks like 135 // Shadow = (Mem >> scale) + (1 << offset_log) 137 cl::desc("scale of asan shadow mapping"), cl::Hidden, cl::init(0)); 139 cl::desc("offset of asan shadow mapping"), cl::Hidden, cl::init(-1)); 196 /// This struct defines the shadow mapping using the rule: 197 /// shadow = (mem >> Scale) ADD-or-OR Offset. 214 // OR-ing shadow offset if more efficient (at least on x86), 215 // but on ppc64 we have to use add since the shadow offset is not neccesary 275 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB) [all...] |
/external/v8/test/mjsunit/ |
global-load-from-eval.js | 36 // Shadow with local variable. 40 // Shadow with parameter. 44 // Shadow with function name.
|
global-load-from-nested-eval.js | 38 // Shadow variable with a with statement. 46 // Shadow variable with an eval-introduced variable. 56 // Eval that does not shadow.
|
/external/skia/src/sfnt/ |
SkOTTable_head.h | 100 Shadow,
|
SkPanose.h | 481 ((Shadow, 6))
|
/external/clang/lib/AST/ |
DeclCXX.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaLookup.cpp | [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaDeclCXX.cpp | [all...] |
SemaAccess.cpp | [all...] |
SemaDecl.cpp | [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |