================
Comment at: lib/CodeGen/CGExpr.cpp:2179-2180
@@ +2178,4 @@
+  if (PLoc.isValid()) {
+    auto FilenameGV = CGM.GetAddrOfConstantCString(PLoc.getFilename(), ".src");
+    CGM.disableSanitizerForGlobal(FilenameGV);
+    Filename = FilenameGV;
----------------
I'm concerned about this one: these strings may be shared by other parts of the 
program, where ASan instrumentation is important. How much does instrumenting 
these strings cost us?

http://reviews.llvm.org/D4575



_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to