[PATCH] D23354: [compiler-rt] Support dynamic shadow address instrumentation

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 22:18:12 PDT 2016


vitalybuka added inline comments.

================
Comment at: lib/Transforms/Instrumentation/AddressSanitizer.cpp:973
@@ +972,3 @@
+  // Do not instrument the load fetching the dynamic shadow address.
+  if (LocalDynamicShadow && LocalDynamicShadow == I)
+    return nullptr;
----------------
I is not null, so just if (LocalDynamicShadow == I)


https://reviews.llvm.org/D23354





More information about the llvm-commits mailing list