Commit Graph

19 Commits

Author SHA1 Message Date
Rafael Espindola 280e5cb653 Don't use PathV1.h in FileUtilities.h.
llvm-svn: 183941
2013-06-13 20:41:00 +00:00
Daniel Dunbar f43481df34 Remove unnecessary uses of <iostream>.
llvm-svn: 101338
2010-04-15 03:47:24 +00:00
Chris Lattner 8adcd9f32e remove attributions from utils.
llvm-svn: 45419
2007-12-29 20:37:13 +00:00
Reid Spencer e061303a9c Update for PathWithStatus
llvm-svn: 35745
2007-04-07 19:49:35 +00:00
Misha Brukman 650ba8eb56 Remove trailing whitespace
llvm-svn: 21428
2005-04-22 00:00:37 +00:00
Chris Lattner 580f5bfae3 This method takes sys::Path objects now.
llvm-svn: 19773
2005-01-23 03:32:16 +00:00
Chris Lattner dff29cd72e Drop dead #include
llvm-svn: 19768
2005-01-23 03:16:56 +00:00
Chris Lattner c5a20a5dd4 The meat of this utility has been moved to FileUtilities, where it can be
used by other tools.

llvm-svn: 19767
2005-01-23 03:15:47 +00:00
Reid Spencer 1a14e28ade For PR351:
* Change use of ReadFileIntoAddressSpace to sys::MappedFile use.
* Shorten a line > 80 chars.

llvm-svn: 18896
2004-12-13 17:41:13 +00:00
Reid Spencer 7c16caa336 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
Chris Lattner d537eb1264 Make fpcmp handle running off of the beginning or end of the file correctly.
llvm-svn: 14259
2004-06-20 03:12:18 +00:00
Reid Spencer d5a21b0575 Get rid of "might be uninitialized" warnings when compiling with GCC 3.3.2
llvm-svn: 14169
2004-06-13 19:17:49 +00:00
Chris Lattner 4408630c67 Fix the really bizarre stuff that happened last night in the tester
due to non-numeric diff failures that caused fpcmp to go into infinite loops

llvm-svn: 14098
2004-06-09 18:28:53 +00:00
Chris Lattner abb26eac9d Right: the #includes are not needed either
llvm-svn: 13867
2004-05-28 00:35:51 +00:00
Chris Lattner 06e381d31e Use fileutilities instead of mmap directly
llvm-svn: 13865
2004-05-28 00:31:36 +00:00
Brian Gaeke 11550c1deb mmap of a zero length file returns null on some platforms, so hack around it.
llvm-svn: 13121
2004-04-23 17:38:17 +00:00
Brian Gaeke 627abf14bb Fix typo.
llvm-svn: 13072
2004-04-19 19:09:24 +00:00
Chris Lattner ed94fef7e3 Fix bug, add support for +/-
llvm-svn: 12934
2004-04-13 21:48:43 +00:00
Chris Lattner 5613bcc258 Okay, spiff is completely incapable of handling files of nontrivial size.
Here is a simple minimal program that does what we want.  Instead of taking
minutes to compare mesa's output, and crashing on binary files (like spiff
does), this take < .02s in the common case and doesn't crash.

llvm-svn: 12926
2004-04-13 20:55:49 +00:00