]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r236260:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Jun 2012 06:45:14 +0000 (06:45 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 1 Jun 2012 06:45:14 +0000 (06:45 +0000)
commit6e5e66ca6f52fea6b0341098128ed1eb4603f2e7
tree7293c49c459a1f79a057c1b0c4910cad563adf2b
parenta6ca15e33b47fb03d803675f1cb1e032f78dca4f
MFC r236260:

Pull in r156591 from upstream llvm trunk:

  Allow unique_file to take a mode for file permissions, but default
  to user only read/write.

and r156592 from upstream clang trunk:

  For final output files create them with mode 0664 to match other
  compilers and expected defaults.

This should fix clang creating files with mode 0600.

Reported by: James <james@hicag.org>

git-svn-id: svn://svn.freebsd.org/base/stable/9@236385 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/llvm/include/llvm/Support/FileSystem.h
contrib/llvm/lib/Support/Unix/PathV2.inc
contrib/llvm/lib/Support/Windows/PathV2.inc
contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp