[PATCH] DataFlowSanitizer: Prefix the name of each instrumented function with "dfs$".

Evgeniy Stepanov eugenis at google.com
Wed Aug 14 02:46:37 PDT 2013



================
Comment at: lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:360
@@ +359,3 @@
+  std::string SearchStr = ".symver " + GVName + ",";
+  size_t Pos = Asm.find(SearchStr);
+  if (Pos != std::string::npos) {
----------------
This looks really scary. I'm not sure such things belong to the platform-independent instrumentation pass.


http://llvm-reviews.chandlerc.com/D1373



More information about the llvm-commits mailing list