cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/Support/Unix/Path.inc
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Support/Unix/Path.inc
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/Support/Unix/Path.inc
|
90f9b8a7bcd02b154a0c068c0589171b43ffba8d |
|
31-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rules adjustments in order to build on DragonFly BSD. Patch by Robin Hahling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
0a69bac39607c1f715835d951a6deb1c7ecbedfe |
|
10-Aug-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Check for $PWD in llvm::sys::current_path. Some users (clang, libTooling) require this. After this patch we can remove the calls to getenv("PWD") from clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
e0913798bca5724d2852386d369d1aa830f97173 |
|
29-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make file_status::getUniqueID const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187383 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
3ed45fe2be4356351942a2cfe9bd92e996d4fcad |
|
29-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Include st_dev to make the result of getUniqueID actually unique. This will let us use getUniqueID instead of st_dev directly on clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
65985348c5ece4efecce485029b147c45453c4c8 |
|
26-Jul-2013 |
Reid Kleckner <reid@kleckner.net> |
Remove dead or useless header checks from cmake and autoconf On Windows, this improves clean cmake configuration time on my workstation from 1m58s to 1m32s, which is pretty significant. There's probably more that can be done here, but this is the low hanging fruit. Eric volunteered to regenerate ./configure for me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
b1a003f37725a31e5e744c46112b628c5e0aeb8a |
|
19-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Split openFileForWrite into windows and unix versions. It is similar to 186511, but for creating files for writing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
1c881d9d35a7880d0c102119b29d20ceb2ed1975 |
|
18-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
b0aa9e9718181952d5a636c72ff32c8d4352685b |
|
17-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Split openFileForRead into Windows and Unix versions. This has some advantages: * Lets us use native, utf16 windows functions. * Easy to produce good errors on windows about trying to use a directory when we want a file. * Simplifies the unix version a bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186511 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
f33cab4898c1b31cab6d26dcd2444a2b5b12a4e5 |
|
17-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't fallback to copy + delete in rename. Rename's documentation says "Files are renamed as if by POSIX rename()". and it is used for atomically updating output files from a temporary. Having rename fallback to a non atomic copy has the potential to hide bugs, like using a temporary file in /tmp instead of a unique name next to the final destination. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186483 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
87be8d353b3454383940ce5abc1a176268a33d33 |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a version of sys::fs::status that uses fstat. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
77e31bca0321c6b470a844e3d5468fd998eef44e |
|
16-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Instead friending status, provide windows and posix constructors to file_status. This opens the way of having static helpers in the .inc files that can construct a file_status. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186376 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
ac2de33d2aaa076dc54ce2cea675bcca5b50261e |
|
10-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use status to implement file_size. The status function is already using a syscall that returns the file size. Remember it and implement file_size as a simple wrapper. No functionally change, but clients that already use status now can avoid calling file_size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186016 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
1cce797d32aa465c054fc4a313d8c330c89bd862 |
|
08-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
We now always create files with the correct permissions. Simplify the interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185834 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
c589a5f2849620306b14077b16e51a3e0b7ef5cd |
|
04-Jul-2013 |
Eric Christopher <echristo@gmail.com> |
Reapply r185601 with a fix for the cmake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2333a31df5eb20db07818252774c3d943d1497d1 |
|
04-Jul-2013 |
Eric Christopher <echristo@gmail.com> |
Temporarily revert 185601 as it caused cmake build regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
d1280c194b388663044f002a34aa9cc00c4feb97 |
|
04-Jul-2013 |
Eric Christopher <echristo@gmail.com> |
Add support for futimens for platforms that don't support futimes. Patch by pashev.igor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185601 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
363720e06c4a61a6695e2b2b8f1dfdd597e52b95 |
|
28-Jun-2013 |
Patrik Hagglund <patrik.h.hagglund@ericsson.com> |
Suppress GCC "control reaches end of non-void function" warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185136 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
8e7294f9953a98cfaae7e3bf5a6c852018cbcb83 |
|
28-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Improvements to unique_file and createUniqueDirectory. * Don't try to create parent directories in unique_file. It had two problem: * It violates the contract that it is atomic. If the directory creation success and the file creation fails, we would return an error but the file system was modified. * When creating a temporary file clang would have to first check if the parent directory existed or not to avoid creating one when it was not supposed to. * More efficient implementations of createUniqueDirectory and the unique_file that produces only the file name. Now all 3 just call into a static function passing what they want (name, file or directory). Clang also has to be updated, so tests might fail if a bot picks up this commit and not the corresponding clang one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
7a231f5a1e346eff9d7b02f9f24dfb3d79c2f12f |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename PathV2 to just Path now that it is the only one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185015 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
460e75a453c256828caaf454c0bbae3eab79f440 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
PathV1 is deprecated since the 18th of Dec 2010. Remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
bdfe4399dba7370827146e44734b5a5456d223fa |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove sys::GetMainExecutable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184916 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2c63b27e9f36dddc2660639026b19e606ad52cd0 |
|
26-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove PathWithStatus. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
46fa7cf91af03373b6ab54f31215bb671698000f |
|
25-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move GetEXESuffix to the one place it is used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184853 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
deeb5724b8e6dfb911bde7c4b5d4e2f10953f52b |
|
25-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove sys::PathSeparator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184852 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
7c8397081c3d101fe467e8375601b091056465e0 |
|
19-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getDirectoryContents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184311 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
f6f3be69d81e8e41f90de9913738a9ba11190221 |
|
19-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::canExecute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
1fbf3a3aca2b7d16a7869ea6c6f39c7ffd28b6d2 |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::canWrite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
f3426a482ea24c399df7c4abaa1ff8f7a9d9dfc8 |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused Path::canRead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184229 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2e0f70bdd8814eefb752f1d0221800cbdbd8d1f5 |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove uniqueID from PathV1.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184219 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
9e89fe77ce532e1d2704f55159d5474b35645685 |
|
14-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add GetCurrentDirectory back. It looks like clang-tools-extra/unittests/cpp11-migrate/TransformTest.cpp depends on the behaviour of the old one on Windows. Maybe a difference between GetCurrentDirectoryA and GetCurrentDirectoryW? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
76858a7abd4faeb462e04f177666b87b23b65287 |
|
14-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Replace use of PathV1.h in MCContext.cpp. GetCurrentDirectory is now unused. Remove it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184003 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2a4005688c05e26439ce83c0b1da482e3c346ba9 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getMagicNumber. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
fa2bbb31fae64bc8cc3dc3736f5465d3ddba1704 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::isAbsolute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
5475e2b01e8f69c398353736bf3afe9b40e01cf8 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::isAbsolute(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
55d529fd8a0931999d96829b0e9f0df55d43f85d |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getSuffix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
36782c514ae7c5f9270c317bdea660bdcd86d9d6 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove sys::CopyFile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2e0372d69ab11fb6c38b35d533e0a6358fd38658 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the old file memory mapping functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
ddee9b46917d10e7d854011d275b77ad41693726 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::createFileOnDisk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
f90690f202901c7f6ba633bc144c9de9247b1834 |
|
12-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::makeExecutableOnDisk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
715a1be51fe25a09fcc5318cd787893a8fbfc9e1 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getDirname. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183780 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
b4d07b770c41b285a613a5b4953fe815044fad19 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getBasename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
aab313f80bc447ecd3a6073014243b108bac6855 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::getLast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
6cbae0160600086e271904d7339c46f34ff57e73 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove GetRootDirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183775 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
6438fd54ac475d378f47f2bbf6892e43212a7ff1 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove GetUserHomeDirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183773 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
40de55a5569bd175cee6abab2070fa0edfbd8658 |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove GetSystemLibraryPaths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
0e33231d554b32e32e23400eb92c9aa44e0e251b |
|
11-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove Path::GetBitcodeLibraryPaths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183765 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
bec3ce0cb50895d9b41a78938b079672e6999e15 |
|
26-Sep-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
The assumption that /proc/self/exe always exists is incorrect. For example, under a Linux chroot, /proc/ might not be mounted. Therefor, we test if this file exist. If it is the case, use it (the current behavior). Otherwise, we fall back to the detection used by *BSD. The issue has been reported initially on the Debian bug tracker: http://bugs.debian.org/674588 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
b0f6759ab93b42570d71665b13d24ca2c4a5f276 |
|
06-Aug-2012 |
Eric Christopher <echristo@apple.com> |
Add support for the OpenBSD for Bitrig. Patch by David Hill. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
d897599e5ba43c644c685c916f55e70a56f420ff |
|
12-Jul-2012 |
Galina Kistanova <gkistanova@gmail.com> |
Fixed few warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
6fc30c26b7fa9e89c4e9ab99b7feab11389cc3f4 |
|
11-Apr-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix the build under Debian GNU/Hurd. Thanks to Pino Toscano for the patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
a3ad585393baaafc655d01bb5489a2c78f15c0ed |
|
26-Mar-2012 |
Anton Korobeynikov <asl@math.spbu.ru> |
Fix GetMainExecutable on kFreeBSD. Patch by Sylvestre Ledru! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
c94792507ddac393a0a9f4cdf1bf258a09a47268 |
|
01-Nov-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Remove a couple unused methods. PR11201. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
2b9c50776ac99211f6373db4dbd96478ba322d58 |
|
29-Jul-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Don't look at $PWD in GetCurrentDirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
3c036e520e1fb19f2dd4fdcbc7e6881984dc72f9 |
|
29-Jul-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Teach Path::GetCurrentDirectory to use $PWD, to support users who like to do screwy things by setting PWD != getcwd(). For example, some developers I know will use this to control the value in gcc's DW_AT_comp_dir value in debug output. With this patch, that trick will now work on clang too. The only other effect of this change is that the static analysis will now respect $PWD when reporting the directory of the files in its HTML output. I think that's fine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
338398a288cde58e30fa8a12d219f417ad13ee65 |
|
05-Jul-2011 |
Chad Rosier <mcrosier@apple.com> |
By default mkstemp() creates a temporary file with mode 0600, but the mode used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
f7fdad15d910fc27bc9334faab5b71c101455e1a |
|
10-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add r127409 back now that the windows file was updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127417 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
4b0e1f127841590d61783cda21babbdd79e49fae |
|
10-Mar-2011 |
Jakob Stoklund Olesen <stoklund@2pi.dk> |
Revert r127409 which broke all the Windows bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
7deb187736b09aa0805b7d9902f499e41feefccc |
|
10-Mar-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for MemoryBuffers that are not null terminated and add support for creating buffers that cover only a part of a file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127409 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
6309b3e9bed13e34cf8803509b7f6b642731353a |
|
18-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
improve support for OpenBSD, patch by Amit Kulkarni! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125943 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
218dc3e2fe54c28b0292a3e89c5ed6563f62ac23 |
|
11-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/Path: Deprecate PathV1::isDirectory and replace all uses with PathV2::is_directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
54453f2978c76b3aa71be7bb4e9657c8539f8648 |
|
10-Jan-2011 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123151 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
9170a0f02d1ed521dd6583661e17581f9b7102ec |
|
27-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV1: Deprecate GetRootDirectory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
43ee29d418c4df3dee00e77bec7030bc10cb837c |
|
25-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it annoys people. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
53ca1f3190680f3e86aebe0f72f7918d63f71e0d |
|
29-Nov-2010 |
Charles Davis <cdavis@mines.edu> |
Now to chant the magical incantation that will exorcise the System library from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120314 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/Unix/Path.inc
|