]> granicus.if.org Git - clang/commit
Fix quoting of #pragma comment for PS4.
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Mon, 20 Jul 2015 17:46:56 +0000 (17:46 +0000)
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>
Mon, 20 Jul 2015 17:46:56 +0000 (17:46 +0000)
commitacd9b2d8c8f0967c6ce5cdcf75db43b660489a27
tree68891799516942d2652a8818321ef1080885254d
parentd6eac0533570da52e03b5629c8dccae0b7f7a970
Fix quoting of #pragma comment for PS4.

This is the PS4 counterpart to r229376, which quotes the library name if the
name contains space. It was discovered that if a library name contains both
double-quote and space characters, quoting the name might produce unexpected
results, but we are mostly concerned with a Windows host environment, which
does not allow double-quote or slashes in file/folder names.

Differential Revision: http://reviews.llvm.org/D11275

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242689 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/pragma-comment.c