1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
Commit Graph

7914 Commits

Author SHA1 Message Date
John Criswell
391b64574d Added the ExecWait() function.
llvm-svn: 8578
2003-09-17 15:14:25 +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
Chris Lattner
acbf60b4d0 fix misspelling analyse -> analyze
llvm-svn: 8576
2003-09-17 15:00:45 +00:00
John Criswell
0a337ff35f Renamed the link page to llvmlink.html
Added initial pages for the extract and llvm-link commands.
Reworded the description of the -load option for analyze to hopefully make it
more clear.

llvm-svn: 8575
2003-09-17 14:11:24 +00:00
Chris Lattner
6f8d60ccf2 new old testcase
llvm-svn: 8574
2003-09-17 05:00:56 +00:00
Chris Lattner
20dd7a8b54 Use new method
llvm-svn: 8573
2003-09-17 05:00:07 +00:00
Chris Lattner
3df1f4b6a5 Change the semancics of the dropallrefs method
llvm-svn: 8572
2003-09-17 04:58:59 +00:00
Chris Lattner
0d28d582e1 Add new deleteBody method
llvm-svn: 8571
2003-09-17 04:58:43 +00:00
John Criswell
206836748e Added the -native option.
With this option, gccld links the program into LLVM bytecode and a native code
binary.  This allows llvmgcc to correctly tell GNU configure scripts when
things aren't defined properly (because the native link will fail).

llvm-svn: 8570
2003-09-16 21:27:35 +00:00
John Criswell
d29d765039 Updated the name of the linker to llvm-link.
This should fix the MultiSource tests.

llvm-svn: 8569
2003-09-16 20:02:22 +00:00
Chris Lattner
13c224fd17 Fix bug raising allocations whose call sites were invoke instructions.
Thanks to brg for tracking down the problem so precisely!

llvm-svn: 8568
2003-09-16 19:42:21 +00:00
Chris Lattner
8502d4f3f8 This is effectively a complete rewrite of the globaldce algorithm, resulting
in it being both shorter and more effective.  It no longer depends on the
callgraph, so one FIXME has been fixed.

Additionally, this pass was not able to delete recursive (but dead) functions
if they were pointed to by global variables which were also dead.  In fact
this pass had a lot of problems deleting functions which were only pointed
to by dead globals and other stuff.

Fixing this means that the entire EH library should be stripped away now from
programs that don't use sjlj or exceptions.

llvm-svn: 8567
2003-09-16 19:27:31 +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
John Criswell
a8c1910084 Regenerated configure with Misha's changes.
Now link is llvm-link and things are alphabetized.

llvm-svn: 8565
2003-09-16 15:54:19 +00:00
Brian Gaeke
d0729bd289 Fix typo in comment. Take out some random whitespace.
(Partial merge from my working file)

llvm-svn: 8564
2003-09-16 15:38:05 +00:00
Misha Brukman
0ec2ea17e1 These transitional scripts are no longer necessary, no one should have `as' or
`dis' anymore.

llvm-svn: 8563
2003-09-16 15:37:32 +00:00
Brian Gaeke
5ef624ead8 Edit comment for accuracy
llvm-svn: 8562
2003-09-16 15:36:50 +00:00
Chris Lattner
e07a1904c3 Remove obsolete -abort-on-exception flag from LLI
llvm-svn: 8561
2003-09-16 15:35:14 +00:00
Chris Lattner
7ac039d261 Remove obsolete option
llvm-svn: 8560
2003-09-16 15:34:36 +00:00
Misha Brukman
ed4039f715 Fixed spelling & grammar.
llvm-svn: 8559
2003-09-16 15:31:46 +00:00
Misha Brukman
563ba88392 Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'.
llvm-svn: 8558
2003-09-16 15:29:54 +00:00
Misha Brukman
7eba3f6ece link' is now llvm-link'. Also alphabetized the tools for easy reference.
llvm-svn: 8557
2003-09-16 15:22:55 +00:00
Misha Brukman
3d15fc4062 link' is now llvm-link'.
llvm-svn: 8556
2003-09-16 15:21:52 +00:00
Misha Brukman
88e17e49e3 link' has become llvm-link'.
llvm-svn: 8555
2003-09-16 15:21:21 +00:00
Vikram S. Adve
e92c22c656 Fix longjmp case so that, along with the call to abort(), we also
generate the appropriate CallArgsDescriptor and tmp. virtual regs.

llvm-svn: 8554
2003-09-16 05:56:22 +00:00
Vikram S. Adve
724b2d6f36 Add flag to control whether or not delay slots are filled during
instruction scheduling (this is off by default).

llvm-svn: 8553
2003-09-16 05:55:15 +00:00
John Criswell
cc008dcfe2 Allow multiple object trees to use the source tree tests at once by
using a QMTEST_CLASS_PATH local to the object tree.
Add the gui target to start the QMTest gui (saves writing a few lines of
documentation too).	:)

llvm-svn: 8552
2003-09-16 02:59:26 +00:00
John Criswell
cb6d27aaa0 Have the configure script put llvm.py into the object root.
The QMTest program can then use that as the location for loading test and
resource class, thus compiling the Python code into the object root as
desired.

llvm-svn: 8551
2003-09-16 02:12:45 +00:00
Chris Lattner
0144d69391 Put llvm .bc files into the BytecodeObj subdirectory instead of the Bytecode
subdirectory.  This prevents the 'make clean' rule from removing lib/Bytecode

llvm-svn: 8550
2003-09-15 22:17:02 +00:00
John Criswell
187283a4d6 QMTest test and resource classes are always register before running the tests.
This ensures that any python bytecode generated by another platform is
replaced with new pythong bytecode before the tests begin.

Perferably, a better method will be implemented in the next few weeks.

llvm-svn: 8549
2003-09-15 21:54:49 +00:00
John Criswell
5cbd25ea1d Removing Makefiles. Regression tests are now run by QMTest.
llvm-svn: 8548
2003-09-15 20:21:38 +00:00
John Criswell
4cb00d3c25 Removing Makefile. The QMTest program now handles the running of these tests.
llvm-svn: 8547
2003-09-15 20:18:06 +00:00
John Criswell
d344d4f53b Removed llvm/tools/as, llvm/tools/dis, and runtime/GCCLibraries/libexception.
llvm-svn: 8546
2003-09-15 20:12:48 +00:00
Misha Brukman
cd4041417b Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'.
llvm-svn: 8545
2003-09-15 20:04:28 +00:00
Misha Brukman
cd263ad17d Renamed as' => llvm-as', dis' => llvm-dis'.
llvm-svn: 8544
2003-09-15 20:02:53 +00:00
Chris Lattner
d29fa02415 Fix building outside the srcdir, again
llvm-svn: 8543
2003-09-15 19:22:36 +00:00
Chris Lattner
ee0d887088 Fix building into a different obj directory
llvm-svn: 8542
2003-09-15 19:20:11 +00:00
Misha Brukman
ef4f17dc3d link' is being renamed to llvm-link'.
llvm-svn: 8541
2003-09-15 18:34:34 +00:00
John Criswell
37932c8b93 Modified the checks slightly so that one can re-configure LLVM without
having to do a "make distclean" when building in the source directory.

llvm-svn: 8540
2003-09-15 17:19:42 +00:00
John Criswell
99ab7d7b41 Added code that verifies that the source directory has not been configured
already.  This should help prevent strange errors from happening, but will
make re-configuring the source directory more difficult when it is shared with
the object directory.

llvm-svn: 8539
2003-09-15 17:04:06 +00:00
Chris Lattner
584ade803f Fix problems with programs that prototype printf to something unusual
llvm-svn: 8538
2003-09-15 16:47:12 +00:00
Chris Lattner
2233d8b00a Do not segfault when the post-dominator tree is empty (ie, there are no return
or unwind instructions in the function)

llvm-svn: 8537
2003-09-15 15:47:40 +00:00
Chris Lattner
3178b8abbc new testcase that crashes opt
llvm-svn: 8536
2003-09-15 15:29:11 +00:00
Chris Lattner
ac363f45dc Whoops, remove makefile too
llvm-svn: 8533
2003-09-15 15:07:37 +00:00
Chris Lattner
d530c260fb Remove dead library, it is now folded into crtend
llvm-svn: 8532
2003-09-15 15:07:22 +00:00
Chris Lattner
6abadeddb2 Allow specifying a file with symbols to export
llvm-svn: 8531
2003-09-15 15:06:54 +00:00
Chris Lattner
6c76d63f28 Move the exception handling runtime stuff into this directory
llvm-svn: 8530
2003-09-15 15:06:39 +00:00
Misha Brukman
1ca2a3375c Stop building as' and dis' as they have been removed.
llvm-svn: 8529
2003-09-15 14:45:00 +00:00
Misha Brukman
44b6128337 `dis' is no longer an LLVM tool.
llvm-svn: 8528
2003-09-15 14:44:22 +00:00
Misha Brukman
85eaa143f3 `as' is no longer an LLVM tool.
llvm-svn: 8527
2003-09-15 14:44:05 +00:00