summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/Path.inc
Commit message (Collapse)AuthorAgeFilesLines
* The assumption that /proc/self/exe always exists is incorrect.Sylvestre Ledru2012-09-261-4/+13
| | | | | | | | | | | 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 llvm-svn: 164676
* Add support for the OpenBSD for Bitrig.Eric Christopher2012-08-061-2/+2
| | | | | | Patch by David Hill. llvm-svn: 161344
* Fixed few warnings.Galina Kistanova2012-07-121-1/+2
| | | | llvm-svn: 160142
* Fix the build under Debian GNU/Hurd.Sylvestre Ledru2012-04-111-0/+5
| | | | | | Thanks to Pino Toscano for the patch llvm-svn: 154500
* Fix GetMainExecutable on kFreeBSD.Anton Korobeynikov2012-03-261-3/+3
| | | | | | Patch by Sylvestre Ledru! llvm-svn: 153435
* Remove a couple unused methods. PR11201.Eli Friedman2011-11-011-5/+0
| | | | llvm-svn: 143452
* Don't look at $PWD in GetCurrentDirectory.Nick Lewycky2011-07-291-3/+0
| | | | llvm-svn: 136477
* Teach Path::GetCurrentDirectory to use $PWD, to support users who like to doNick Lewycky2011-07-291-2/+5
| | | | | | | | | | | | 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. llvm-svn: 136459
* By default mkstemp() creates a temporary file with mode 0600, but the modeChad Rosier2011-07-051-0/+3
| | | | | | | | used for open is 0666. Therefore, add the necessary permission bits for consistency. rdar://8621462 llvm-svn: 134430
* Add r127409 back now that the windows file was updated.Rafael Espindola2011-03-101-3/+3
| | | | llvm-svn: 127417
* Revert r127409 which broke all the Windows bots.Jakob Stoklund Olesen2011-03-101-3/+3
| | | | llvm-svn: 127413
* Add support for MemoryBuffers that are not null terminated and addRafael Espindola2011-03-101-3/+3
| | | | | | support for creating buffers that cover only a part of a file. llvm-svn: 127409
* improve support for OpenBSD, patch by Amit Kulkarni!Chris Lattner2011-02-181-2/+4
| | | | llvm-svn: 125943
* Support/Path: Deprecate PathV1::isDirectory and replace all uses with ↵Michael J. Spencer2011-01-111-1/+2
| | | | | | PathV2::is_directory. llvm-svn: 123209
* Support/Path: Deprecate PathV1::exists and replace all uses with ↵Michael J. Spencer2011-01-101-1/+2
| | | | | | PathV2::fs::exists. llvm-svn: 123151
* Support/PathV1: Deprecate GetRootDirectory.Michael J. Spencer2010-12-271-6/+5
| | | | llvm-svn: 122580
* Support/PathV1: Deprecate makeAbsolute and remove Unix impl because it ↵Michael J. Spencer2010-12-251-12/+0
| | | | | | annoys people. llvm-svn: 122553
* Now to chant the magical incantation that will exorcise the System libraryCharles Davis2010-11-291-1/+1
| | | | | | | | from LLVM forever: grep -lR "llvm/System" * | grep -v .svn | xargs sed -ie 's#llvm/System#llvm/Support#g' llvm-svn: 120314
* Merge System into Support.Michael J. Spencer2010-11-291-0/+896
llvm-svn: 120298
OpenPOWER on IntegriCloud