[PATCH] D11275: Fix quoting of #pragma comment for PS4

Richard Smith richard at metafoo.co.uk
Thu Jul 16 14:11:15 PDT 2015


rsmith added a subscriber: rsmith.

================
Comment at: lib/CodeGen/TargetInfo.cpp:1653-1655
@@ +1652,5 @@
+  std::string ArgStr = Quote ? "\"" : "";
+  ArgStr += Lib;
+  ArgStr += Quote ? "\"" : "";
+  return ArgStr;
+}
----------------
What happens if the library name contains an embedded `\` character?


http://reviews.llvm.org/D11275







More information about the cfe-commits mailing list