Mikhail Glushenkov
|
b6725054b8
|
Fix the -opt switch and add a test case for it.
llvm-svn: 51784
|
2008-05-30 19:56:27 +00:00 |
Mikhail Glushenkov
|
48b9f4be9d
|
Fix indentation.
llvm-svn: 51782
|
2008-05-30 18:53:09 +00:00 |
Mikhail Glushenkov
|
241042b700
|
Add a --dry-run option to llvmc2. Patch by Holger Schurig.
llvm-svn: 51781
|
2008-05-30 18:48:52 +00:00 |
Mikhail Glushenkov
|
394620bbd8
|
Add a --save-temps option.
llvm-svn: 51760
|
2008-05-30 06:29:17 +00:00 |
Mikhail Glushenkov
|
401f3d6eab
|
Add a check for side effect-free options (specified only in the OptionList).
llvm-svn: 51759
|
2008-05-30 06:28:37 +00:00 |
Mikhail Glushenkov
|
1c64538a5e
|
Show argv[0] in error messages (like gcc).
llvm-svn: 51755
|
2008-05-30 06:26:35 +00:00 |
Mikhail Glushenkov
|
5916ade717
|
Fix some headers.
llvm-svn: 51745
|
2008-05-30 06:20:54 +00:00 |
Mikhail Glushenkov
|
550052d0e5
|
Enable the response file ('llvmc @file') support.
llvm-svn: 51731
|
2008-05-30 06:11:45 +00:00 |
Mikhail Glushenkov
|
128349b8bf
|
Fix some error messages; Make LLVMC pass through the exit code of a failed tool.
llvm-svn: 50971
|
2008-05-12 16:31:42 +00:00 |
Mikhail Glushenkov
|
41318a15d0
|
Use Doxygen-style comments.
llvm-svn: 50833
|
2008-05-07 21:50:19 +00:00 |
Mikhail Glushenkov
|
fc905c64ab
|
Add -x option (like in gcc).
llvm-svn: 50750
|
2008-05-06 18:10:53 +00:00 |
Mikhail Glushenkov
|
d4918dd32c
|
Add output redirection, rename namespace llvmcc to namespace llvmc.
llvm-svn: 50746
|
2008-05-06 18:08:59 +00:00 |
Mikhail Glushenkov
|
73d866efda
|
Utilize topological sort in CompilationGraph::Build().
This makes more interesting graph topologies possible. Currently all tests pass,
but more testing is needed.
llvm-svn: 50744
|
2008-05-06 18:07:48 +00:00 |
Mikhail Glushenkov
|
7701512231
|
Add TopologicalSort method to CompilationGraph.
llvm-svn: 50743
|
2008-05-06 18:07:14 +00:00 |
Mikhail Glushenkov
|
af932f0d96
|
Do not require positional arguments when we're only printing out the graph.
llvm-svn: 50742
|
2008-05-06 17:44:16 +00:00 |
Mikhail Glushenkov
|
af15882a5a
|
Make llvmc return 1 when the compilation fails.
llvm-svn: 50735
|
2008-05-06 17:25:23 +00:00 |
Mikhail Glushenkov
|
adcb08d1b3
|
Convert internal representation to use DAG. This gives us more flexibility and enables future improvements.
llvm-svn: 50724
|
2008-05-06 16:35:25 +00:00 |
Mikhail Glushenkov
|
a8276c5323
|
Code reorg
llvm-svn: 50722
|
2008-05-06 16:34:12 +00:00 |