summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
Commit message (Collapse)AuthorAgeFilesLines
* DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE nowChris Lattner2005-10-241-1/+1
| | | | llvm-svn: 23940
* Only build .a file versions of these libraries, instead of .a and .o versions.Chris Lattner2005-10-241-0/+1
| | | | | | This should speed up build times. llvm-svn: 23934
* Allow bugpoint+PPC codegen to use fsqrtChris Lattner2005-08-291-0/+3
| | | | llvm-svn: 23128
* Allow tools with "consume after" options (like lli) to take more positionalChris Lattner2005-08-081-4/+1
| | | | | | | opts than they take directly. Thanks to John C for pointing this problem out to me! llvm-svn: 22717
* Reject command lines that have too many positional arguments passed (e.g.,Chris Lattner2005-08-081-1/+15
| | | | | | | | 'opt x y'). This fixes PR493. Patch contributed by Owen Anderson! llvm-svn: 22705
* 200.sixtrack prints FP numbers with a very strange notation that uses DChris Lattner2005-08-021-3/+21
| | | | | | | instead of E for exponentials (e.g. 1.234D-43). Add support for this notation. llvm-svn: 22574
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-1/+1
| | | | llvm-svn: 22523
* Final Changes For PR495:Reid Spencer2005-07-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add support for assembling .s files on mac os x for intelNate Begeman2005-07-081-1/+1
| | | | | | Add support for running bugpoint on mac os x for intel llvm-svn: 22351
* For PR495:Reid Spencer2005-07-072-5/+5
| | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* HP-UX system headers make a mess of isinf(), so much so that gcc fixincludesDuraid Madina2005-05-161-0/+4
| | | | | | can't patch it up for c++ (works in C though) llvm-svn: 22079
* CapitalizeChris Lattner2005-05-131-3/+3
| | | | llvm-svn: 21964
* Make sure that decompression checks for the case that bzip2 returnsReid Spencer2005-05-131-4/+6
| | | | | | | | BZ_OK (meaning more data is expected) but there is no more input data. In this case, the input file is probably truncated. Generate an exception that indicates this case when its detected. llvm-svn: 21926
* Do not use "" as a sentinal for a missing argument! This fixes PR560.Chris Lattner2005-05-101-11/+12
| | | | llvm-svn: 21850
* Why output multiple strings, let the compiler concatenate them for us for freeMisha Brukman2005-05-101-3/+3
| | | | llvm-svn: 21845
* * Order #includes as per style guideMisha Brukman2005-04-221-6/+5
| | | | | | * Combine multiple ``std::cerr <<'' statements into one for simplicity llvm-svn: 21458
* Convert tabs to spacesMisha Brukman2005-04-225-9/+10
| | | | llvm-svn: 21440
* Remove trailing whitespaceMisha Brukman2005-04-2116-228/+228
| | | | llvm-svn: 21422
* Timers SHOULD NOT record the time taken to count the bytes allocated in the ↵Chris Lattner2005-03-221-2/+2
| | | | | | heap! llvm-svn: 20765
* Fix a bug where we would consider " .99" and "1.0" different because of theChris Lattner2005-03-171-0/+9
| | | | | | leading whitespace. llvm-svn: 20647
* yay for camel_cvs diffAndrew Lenharth2005-03-101-1/+1
| | | | llvm-svn: 20552
* get bugpoint working on ia64, by building .so's with -fpic. :)Chris Lattner2005-03-091-0/+4
| | | | llvm-svn: 20525
* Remove some stuff I checked in accidentallyChris Lattner2005-02-271-6/+0
| | | | llvm-svn: 20340
* Instead of doing a manual comparison loop, just use memcmp, thanks to JohnCChris Lattner2005-02-151-9/+6
| | | | | | for the suggestion! :) llvm-svn: 20203
* Make this more efficient now that we know both files are the same length.Chris Lattner2005-02-151-2/+2
| | | | llvm-svn: 20202
* Fix spellingMisha Brukman2005-02-151-1/+1
| | | | llvm-svn: 20201
* Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility byReid Spencer2005-02-151-8/+24
| | | | | | | | | | handling zero length files a little more intelligently. If both files are zero length then we return 0 (true) indicating a match. If only one of the files is zero length then we return 1 (false) indicating that the files differ. If the files don't agree in length then they can't match so we skip the first loop that looks for a quick match. llvm-svn: 20200
* Work around GCC PR19958, which causes programs to sometimes crash afterChris Lattner2005-02-141-0/+2
| | | | | | printing help output or version info. llvm-svn: 20180
* Move helper function here.Chris Lattner2005-02-131-0/+28
| | | | llvm-svn: 20168
* Don't print a 'Total Execution Time' line for the 'Miscellaneous UngroupedChris Lattner2005-02-091-6/+14
| | | | | | | Timers' section. Since these are random timers in the program it doesn't make sense to sum them up. llvm-svn: 20090
* Make this work on systems where size_t == unsigned and where they are notTanya Lattner2005-01-291-6/+6
| | | | | | the same. llvm-svn: 19929
* Make this work on systems where size_t is not the same as unsigned.Tanya Lattner2005-01-291-0/+8
| | | | llvm-svn: 19928
* This file was schizophrenic when it came to representing sizes. In someChris Lattner2005-01-291-44/+45
| | | | | | | | | | cases it represented them as 'unsigned's, which are not enough for 64-bit hosts. In other cases, it represented them as uint64_t's, which are inefficient for 32-bit hosts. This patch unifies all of the sizes to use size_t instead. llvm-svn: 19918
* After reading in a bc file, trim the resultant buffer down to what weChris Lattner2005-01-291-2/+12
| | | | | | really need. This reduces 4M of memory consumption reading 176.gcc. llvm-svn: 19916
* Finegrainify namespacificationChris Lattner2005-01-291-12/+14
| | | | llvm-svn: 19915
* Memory used is a delta between memuse at the start of the time and theChris Lattner2005-01-291-3/+2
| | | | | | memuse at the end, thus it is signed. llvm-svn: 19904
* Fix crash comparing empty file against nonempty file.Chris Lattner2005-01-231-1/+2
| | | | llvm-svn: 19782
* Make DiffFilesWithTolerance take sys::Path's instead of std::stringsChris Lattner2005-01-231-55/+9
| | | | | | Delete dead functions. llvm-svn: 19771
* Fix a bug in previous checkinChris Lattner2005-01-231-2/+2
| | | | llvm-svn: 19769
* Add a new method, refactored out of fpcmpChris Lattner2005-01-231-0/+184
| | | | llvm-svn: 19766
* Use binary mode for reading/writing bytecode filesJeff Cohen2005-01-221-2/+3
| | | | llvm-svn: 19751
* Use size_t instead of long to represent memory usage. long is 32 bitsJeff Cohen2005-01-081-5/+5
| | | | | | on 64-bit Windows. llvm-svn: 19393
* Do not throw away bits for no reasonChris Lattner2005-01-081-1/+1
| | | | llvm-svn: 19378
* Silence a VS warning.Chris Lattner2005-01-081-1/+1
| | | | llvm-svn: 19377
* Make printing a warning message optional in CheckBytecodeOutputToConsole.Reid Spencer2005-01-021-5/+8
| | | | llvm-svn: 19240
* Implement a function to print a warning if bytecode output is to be sent toReid Spencer2005-01-011-8/+10
| | | | | | a terminal/console. llvm-svn: 19237
* Fix a bug that made the nightly tester *really* slow. During changes forReid Spencer2004-12-271-3/+9
| | | | | | | | | | portability, the --track-space option was inadvertently ignored. This patch fixes that so that sys::Process::GetMallocUsage() is only invoked if the --track-spaces option is given. Apparently the mallinfo() call that GetMallocUsage() uses is *very* slow, especially when processing very large modules like projects/llvm-test/MultiSource/Applications/kimwitu++. llvm-svn: 19163
* For PR351:Reid Spencer2004-12-221-14/+0
| | | | | | Move non-portable FDHandle class to its only user: lib/Debugger llvm-svn: 19106
* Fix a bug where system time always equals user timeReid Spencer2004-12-201-5/+12
| | | | llvm-svn: 19075
OpenPOWER on IntegriCloud