summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Win32
Commit message (Collapse)AuthorAgeFilesLines
...
* - Fixed broken Win32 buildAnton Korobeynikov2006-09-014-20/+24
| | | | | | - Removed warning about clobbered parameter in Bytecode/Reader llvm-svn: 30026
* For PR797:Reid Spencer2006-08-256-67/+51
| | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884
* For PR797:Reid Spencer2006-08-241-42/+37
| | | | | | | Adjust implementation to match the new interface after exception handling was removed in the Unix verison. NOTE: this hasn't been compiled yet! llvm-svn: 29858
* For PR797:Reid Spencer2006-08-232-5/+6
| | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
* For PR797:Reid Spencer2006-08-231-6/+10
| | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
* For PR797:Reid Spencer2006-08-221-5/+10
| | | | | | Adjust code to compensate for Path class interface change. llvm-svn: 29837
* Update for changes in Path class interface for exception removal.Reid Spencer2006-08-221-16/+6
| | | | llvm-svn: 29834
* For PR797:Reid Spencer2006-08-212-31/+59
| | | | | | | Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790
* Remove some now-dead methods. Use getFileStatus instead.Chris Lattner2006-08-011-33/+0
| | | | llvm-svn: 29447
* Use getFileStatus instead of Path::isDirectory().Chris Lattner2006-08-011-6/+8
| | | | llvm-svn: 29443
* elimiante some syscallsChris Lattner2006-08-011-8/+8
| | | | llvm-svn: 29442
* Minor fix due to recent API changesAnton Korobeynikov2006-08-011-1/+1
| | | | llvm-svn: 29428
* Modify setStatusInfoOnDisk to not throw an exception.Chris Lattner2006-07-281-8/+8
| | | | llvm-svn: 29402
* Update win32 for Path::getStatusInfoChris Lattner2006-07-281-4/+6
| | | | llvm-svn: 29401
* Modify Path::eraseFromDisk to not throw an exception.Chris Lattner2006-07-281-11/+10
| | | | llvm-svn: 29400
* Fix the build on win32Chris Lattner2006-07-261-1/+2
| | | | llvm-svn: 29302
* Change AllocateRWX/DeallocateRWX to not throw an exception.Chris Lattner2006-07-071-6/+8
| | | | llvm-svn: 29058
* Fix this implChris Lattner2006-07-071-1/+1
| | | | llvm-svn: 29055
* Add a helper functionChris Lattner2006-07-071-0/+10
| | | | llvm-svn: 29049
* Change LoadLibraryPermanently to not throw an exception.Chris Lattner2006-07-071-2/+4
| | | | llvm-svn: 29048
* Squelch a warning about signed/unsigned.Reid Spencer2006-06-081-1/+1
| | | | llvm-svn: 28729
* For PR804:Reid Spencer2006-06-081-1/+1
| | | | | | | | Change the file size field of StatusInfo to be uint64_t instead of size_t so that we know it is always 64 bits. This prevents some overflow on systems where size_t is 32 bits when it ought to be 64. llvm-svn: 28726
* For PR787:Reid Spencer2006-06-071-0/+14
| | | | | | | | | | | | Provide new llvm::sys::Program facilities for converting the stdout and stdin to binary mode. There is no standard way to do this and the available mechanisms are platform specific. Adjust the bytecode reader and writer to use these methods when their input is stdin or output is stdout. THis avoids the problem with \n writing CRLF to a bytecode file on windows. Patch Contributed by Michael Smith. llvm-svn: 28722
* For PR798:Reid Spencer2006-06-051-7/+8
| | | | | | Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
* Provide configuration support and usage for MINGW32 platformReid Spencer2006-06-013-8/+26
| | | | llvm-svn: 28639
* Unlike Unix, Windows won't let a file be implicitly replaced via renaming ↵Jeff Cohen2006-05-071-1/+1
| | | | | | without explicit permission. llvm-svn: 28157
* Mingw32 patches supplied by Anton Korobeynikov.Jeff Cohen2006-04-291-1/+1
| | | | llvm-svn: 28023
* Add AddSymbol() method to DynamicLibrary to work around Windows limitationJeff Cohen2006-01-301-0/+6
| | | | | | | of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. llvm-svn: 25805
* Fix indentation.Jeff Cohen2006-01-291-4/+4
| | | | llvm-svn: 25795
* Implement a generic polled Alarm function. This merely removes the systemReid Spencer2005-12-221-0/+36
| | | | | | | dependent portion of the lib/Support/SlowOperationTimer code into the lib/System implementation where it can be ported to different platforms. llvm-svn: 24937
* It's dangerous coding on Mondays.Jeff Cohen2005-08-021-8/+5
| | | | llvm-svn: 22585
* Implement SetInterruptFunction for Windows.Jeff Cohen2005-08-021-1/+25
| | | | llvm-svn: 22582
* Implement sys::SetInterruptFunction on Unix, stub it on win32 so that theChris Lattner2005-08-021-0/+4
| | | | | | build will not fail llvm-svn: 22578
* support near allocations for the JITAndrew Lenharth2005-07-291-1/+3
| | | | llvm-svn: 22554
* Note to self: don't introduce memory leaks.Jeff Cohen2005-07-131-0/+1
| | | | llvm-svn: 22422
* Win32 support for Mutex class.Jeff Cohen2005-07-132-9/+23
| | | | llvm-svn: 22420
* For PR540:Reid Spencer2005-07-121-0/+46
| | | | | | | | | Add a Mutex class for thread synchronization in a platform-independent way. The current implementation only supports pthreads. Win32 use of Critical Sections will be added later. The design permits other threading models to be used if (and only if) pthreads is not available. llvm-svn: 22403
* Fix bugs also fixed in Unix version, plus other general cleanup.Jeff Cohen2005-07-091-17/+61
| | | | llvm-svn: 22363
* Ensure that functions like isDirectory don't fail if the file doesn'tReid Spencer2005-07-081-0/+6
| | | | | | exist but just return false instead. llvm-svn: 22361
* Stamp out tabsJeff Cohen2005-07-081-19/+18
| | | | llvm-svn: 22357
* Make Win32 implementation conform to new paradigmJeff Cohen2005-07-082-50/+61
| | | | llvm-svn: 22356
* Final Changes For PR495:Reid Spencer2005-07-081-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* Fix VC++ breakageJeff Cohen2005-07-083-13/+10
| | | | llvm-svn: 22353
* Changes to mimic those in Unix/Path.inc in support of PR495. This hasn'tReid Spencer2005-07-071-155/+94
| | | | | | been compiled or tested. llvm-svn: 22350
* For PR495:Reid Spencer2005-07-071-2/+8
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* For PR495:Reid Spencer2005-07-071-6/+6
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Remove vim settings from source code; people should use llvm/utils/vim/vimrcMisha Brukman2005-05-058-8/+0
| | | | llvm-svn: 21704
* Remove trailing whitespaceMisha Brukman2005-04-211-3/+3
| | | | llvm-svn: 21422
* Provide an implementation of the GetCurrentUserId and GetCurrentGroupIdReid Spencer2005-04-211-0/+10
| | | | | | methods that were recently added to the interface. llvm-svn: 21401
* Eliminate tabsJeff Cohen2005-04-112-5/+5
| | | | llvm-svn: 21216
OpenPOWER on IntegriCloud