Misha Brukman
e156f46fa8
Fixed space issues, code alignment, tabs -> spaces.
...
llvm-svn: 8755
2003-09-29 22:40:07 +00:00
Misha Brukman
4d40649e9a
Implementation of the abstraction of running our tools + gcc, taken out of
...
bugpoint for general usage and enjoyment.
llvm-svn: 8754
2003-09-29 22:39:25 +00:00
Chris Lattner
b0ab82ef54
Check in missing makefile
...
llvm-svn: 8738
2003-09-29 16:03:01 +00:00
Chris Lattner
1e96e9dc37
Initial checkin of makefile for this directory
...
llvm-svn: 8737
2003-09-29 15:58:16 +00:00
John Criswell
22cf58bc33
Moved code from llvm/lib/Support to llvm/support/lib/Support.
...
llvm-svn: 8735
2003-09-29 15:02:30 +00:00
John Criswell
001ed00cec
Updating Makefiles for new location in llvm/support.
...
llvm-svn: 8732
2003-09-29 14:49:09 +00:00
John Criswell
dde2b00d75
Updated Makefiles to reflect new location in llvm/support/tools.
...
llvm-svn: 8731
2003-09-29 14:48:29 +00:00
Chris Lattner
479871517f
Squelch warning
...
llvm-svn: 8658
2003-09-22 20:27:10 +00:00
John Criswell
e1ccc5a286
In ExecWait(), made the child process exit if it can't execve() the new
...
program.
Added the use of const (which compiles and is hopefully correct).
Added comments.
llvm-svn: 8585
2003-09-17 19:02:49 +00:00
Misha Brukman
1f7a4aff1b
Do not put DEBUG() guard around error condition; this must *always* be printed.
...
llvm-svn: 8583
2003-09-17 18:21:48 +00:00
Misha Brukman
58758858b3
Fix the flag on `rm' to properly do a recursive deletion.
...
llvm-svn: 8582
2003-09-17 18:20:35 +00:00
John Criswell
4d934ceefa
Added the ExecWait() function. It executes a program with the specified
...
arguments and environment.
Perhaps it should be merged with the RunProgramWithTimeout function, but I'd
want to allow it to inherit the parent process's stdin and stdout.
I'll save that for a rainy day...
llvm-svn: 8577
2003-09-17 15:13:59 +00:00
Brian Gaeke
b121c72006
Add missing apostrophe. It's been bugging me for years.
...
No really, years.
llvm-svn: 8566
2003-09-16 18:00:35 +00:00
Misha Brukman
ed4039f715
Fixed spelling & grammar.
...
llvm-svn: 8559
2003-09-16 15:31:46 +00:00
John Criswell
e783801878
Updated to find source files using VPATH. This makes writing build rules
...
much cleaner and easier.
Labeled .td as a suffix for tblgen files in Makefile.rules.
Modified build rules so that source files generated during the build are placed
in the build directory and not the source directory (and not in a Debug
directory). This makes the system cleaner and allows us to have a read-only
source tree.
llvm-svn: 8424
2003-09-09 20:57:03 +00:00
John Criswell
2af87cf4a1
Updated the log of changes (as required by the Burg copyright) to give an
...
overview of what we changed (which is probably all that the author was looking
for).
llvm-svn: 8416
2003-09-09 15:27:40 +00:00
John Criswell
279f4974c1
Modified the code so that we exit() with a non-zero value instead of calling
...
abort() when we can't open the input filename. The abort() function generates
a core dump if possible and is meant for handling errors so grand that even the
program knows that debugging is necessary.
llvm-svn: 8415
2003-09-09 14:37:48 +00:00
Misha Brukman
23eff93eda
Fixed spelling of `intentionally'.
...
llvm-svn: 8387
2003-09-07 20:12:52 +00:00
Chris Lattner
423a48051b
Remove unneeded #include
...
llvm-svn: 8386
2003-09-07 05:09:32 +00:00
John Criswell
0fedf61a71
Checkin of autoconf-style object root.
...
Updated Makefile for new autoconf-style object root.
llvm-svn: 8385
2003-09-06 15:20:15 +00:00
John Criswell
6927aeed1e
Added the MakeFileReadable() method.
...
llvm-svn: 8327
2003-09-02 21:09:30 +00:00
John Criswell
5277b91d50
Added a description of the algorithm.
...
Return failure if the chmod() fails.
llvm-svn: 8326
2003-09-02 20:30:16 +00:00
John Criswell
7b83fe6beb
Added the MakeFileExecutable() method. This method takes a filename and
...
gives it execute access while respecting the user's umask.
llvm-svn: 8324
2003-09-02 20:14:57 +00:00
John Criswell
6031a463d3
Added an option to TableGen that allows users to specify a directory in which
...
to find include files. TableGen will load include files from this directory if
it cannot find them in the current directory.
This feature was needed for building code inside the object tree (a la autoconf
style).
TODO: Allow for multiple -I options to specify a list of directories to search.
llvm-svn: 8159
2003-08-27 13:41:57 +00:00
Chris Lattner
27cccb2db0
Mangle ALL letters that we do not allow, not just a few.
...
llvm-svn: 8140
2003-08-24 21:08:38 +00:00
Chris Lattner
b3404105ee
Ignore more
...
llvm-svn: 8081
2003-08-23 20:35:08 +00:00
Chris Lattner
b7d216cd2f
Initial checkin of ValueHolder helper
...
llvm-svn: 8072
2003-08-23 19:43:16 +00:00
Chris Lattner
4186a87174
Only use :: rules for #included files
...
llvm-svn: 8026
2003-08-21 21:47:12 +00:00
Chris Lattner
dfd6dc9716
Fix warning on sparc build
...
llvm-svn: 8006
2003-08-21 15:59:16 +00:00
John Criswell
96a14a8d3b
Added #include <cassert>. In GCC 3.3, we don't get assert() through the other
...
language header files like we did under 3.2.1, and we're not grabbing it
through the LLVM header files either. So just include it directly.
llvm-svn: 7996
2003-08-20 22:07:45 +00:00
Misha Brukman
45cd64978d
X86.td has been moved out of this directory; these are outdated targets.
...
llvm-svn: 7971
2003-08-19 16:11:38 +00:00
Misha Brukman
56f7db4178
Spell `necessary' correctly.
...
llvm-svn: 7944
2003-08-18 14:43:39 +00:00
Brian Gaeke
294589d7f6
lib/Support/CommandLine.cpp:
...
Many changes suggested by Chris. It's okay, I'll recover from the emotional
damage...maybe someday. :-)
Collapse ParseCStringVector into ParseStringVector. Comment it.
Make it take a const input.
Use std::string::npos instead of -1 (what a mouthful!)
Make ParseEnvironmentOptions take const inputs.
Check its args at the very beginning.
Strdup all the contents of newArgv and free them all at the end.
include/Support/CommandLine.h:
Constify progName and envVar arguments to ParseEnvironmentOptions().
llvm-svn: 7905
2003-08-15 21:05:57 +00:00
Chris Lattner
894af9f898
Ignore dummy register classes
...
llvm-svn: 7871
2003-08-15 04:36:19 +00:00
Chris Lattner
58c8999bca
Add support for nodes with void arguments, like chain nodes
...
llvm-svn: 7869
2003-08-15 04:28:04 +00:00
Brian Gaeke
1fea9addaa
Add support for reading command line arguments from an environment variable.
...
llvm-svn: 7851
2003-08-14 22:00:59 +00:00
Misha Brukman
283afdd02b
Using std::remove' requires
cstdio.h'.
...
llvm-svn: 7843
2003-08-14 16:05:35 +00:00
Misha Brukman
5d61e0d79b
Using std::string requires `#include <string>', says gcc-2.95.3.
...
llvm-svn: 7833
2003-08-13 22:27:15 +00:00
Chris Lattner
54ccdd9b17
This file uses stable_sort
...
llvm-svn: 7831
2003-08-13 21:32:37 +00:00
Chris Lattner
263fcc60bf
Reenable optimized build
...
llvm-svn: 7788
2003-08-12 20:46:50 +00:00
Chris Lattner
4ae9a82af1
Fix emission of instructions that directly reference MBBs
...
llvm-svn: 7771
2003-08-12 05:19:49 +00:00
Chris Lattner
3dbc8d8eb2
Add support for the Any type. Minor fixes and enhancements for BasicBlock operands
...
llvm-svn: 7769
2003-08-12 04:56:42 +00:00
Chris Lattner
863477568d
Rename DNVT_bool to DNVT_i1 to be consistent with type system
...
llvm-svn: 7768
2003-08-12 04:28:21 +00:00
Chris Lattner
9bfaf9c74e
Add support for a bool argty
...
llvm-svn: 7766
2003-08-12 04:12:42 +00:00
Chris Lattner
f75f0fe692
It is not an error if a rule does not match, it's just a failed match!
...
llvm-svn: 7761
2003-08-11 22:30:51 +00:00
Chris Lattner
e91ffcf8bd
Add support for frameidx and literal immediates for instructions
...
llvm-svn: 7749
2003-08-11 21:28:59 +00:00
Chris Lattner
114ee856b4
Add support for naming the destination of a "set" in a pattern
...
llvm-svn: 7748
2003-08-11 20:32:02 +00:00
Chris Lattner
641eca6881
Add support for the Arg1 argument type
...
llvm-svn: 7747
2003-08-11 20:25:52 +00:00
Chris Lattner
f918b0a5fc
Add support to the mangler for targets which require _'s on global symbols
...
llvm-svn: 7741
2003-08-11 19:34:29 +00:00
Chris Lattner
8c7089a744
Don't forget to initializer result field to 0!
...
llvm-svn: 7729
2003-08-11 15:47:35 +00:00