oota-llvm.git
20 years agoPer code review:
Reid Spencer [Tue, 16 Nov 2004 06:11:52 +0000 (06:11 +0000)]
Per code review:
*Implement/Document the cl::extrahelp feature instead of the MoreHelp ptr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17871 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify namespaces
Chris Lattner [Tue, 16 Nov 2004 04:47:33 +0000 (04:47 +0000)]
Simplify namespaces

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17870 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove a dead function, which died when we got GAS emission working (phwew,
Chris Lattner [Tue, 16 Nov 2004 04:34:29 +0000 (04:34 +0000)]
Remove a dead function, which died when we got GAS emission working (phwew,
hold your nose!)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17869 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement a simple FIXME: if we are emitting a basic block address that has
Chris Lattner [Tue, 16 Nov 2004 04:30:51 +0000 (04:30 +0000)]
Implement a simple FIXME: if we are emitting a basic block address that has
already been emitted, we don't have to remember it and deal with it later,
just emit it directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17868 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Merge some win32 ifdefs together
Chris Lattner [Tue, 16 Nov 2004 04:21:18 +0000 (04:21 +0000)]
* Merge some win32 ifdefs together
* Get rid of "emitMaybePCRelativeValue", either we want to emit a PC relative
  value or not: drop the maybe BS.  As it turns out, the only places where
  the bool was a variable coming in, the bool was a dynamic constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17867 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Change test/projects => projects/llvm-test
Misha Brukman [Mon, 15 Nov 2004 23:20:51 +0000 (23:20 +0000)]
* Change test/projects => projects/llvm-test
* Add link to complete Command Guide in the "brief intro to major tools" section

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17866 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd an accessor
Chris Lattner [Mon, 15 Nov 2004 23:20:19 +0000 (23:20 +0000)]
Add an accessor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17865 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNow that we have ghost linkage, we can force resolution of external symbols
Chris Lattner [Mon, 15 Nov 2004 23:20:04 +0000 (23:20 +0000)]
Now that we have ghost linkage, we can force resolution of external symbols
immediately instead of lazily.

In this program, for example:

int main() {
  printf("hello world\n");
  printf("hello world\n");
  printf("hello world\n");
  printf("hello world\n");
}

We used to have to go through compilation callback 4 times (once for each
call to printf), now we don't go to it at all.

Thanks to Misha for noticing this, and for adding the initial ghost linkage
patches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17864 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThere is no reason to try to materialize the function from bytecode if it
Chris Lattner [Mon, 15 Nov 2004 23:18:09 +0000 (23:18 +0000)]
There is no reason to try to materialize the function from bytecode if it
already has been.  This may be a small speedup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17863 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd debug-only=jit printout, so we see when lazily resolved symbols are
Chris Lattner [Mon, 15 Nov 2004 23:16:55 +0000 (23:16 +0000)]
Add debug-only=jit printout, so we see when lazily resolved symbols are
set up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17862 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify and rearrange long shift code
Chris Lattner [Mon, 15 Nov 2004 23:16:34 +0000 (23:16 +0000)]
Simplify and rearrange long shift code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17861 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate to reflect recent change
Chris Lattner [Mon, 15 Nov 2004 22:54:50 +0000 (22:54 +0000)]
Update to reflect recent change

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17860 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not emit FunctionBlock blocks for external functions. This shrinks
Chris Lattner [Mon, 15 Nov 2004 22:39:49 +0000 (22:39 +0000)]
Do not emit FunctionBlock blocks for external functions.  This shrinks
bytecode files by about 8 bytes per external function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17859 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse a per-function flag bit to indicate whether or not there is a function
Chris Lattner [Mon, 15 Nov 2004 22:38:52 +0000 (22:38 +0000)]
Use a per-function flag bit to indicate whether or not there is a function
body for the function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17858 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDisable this change, it was premature
Chris Lattner [Mon, 15 Nov 2004 21:56:33 +0000 (21:56 +0000)]
Disable this change, it was premature

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17857 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake *SURE* to null out the pointer before throwing an exception, otherwise
Chris Lattner [Mon, 15 Nov 2004 21:55:33 +0000 (21:55 +0000)]
Make *SURE* to null out the pointer before throwing an exception, otherwise
the dtor for the BytecodeReader class will try to free it again!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17856 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCleanups. Null out pointer after freeing it for paranoia
Chris Lattner [Mon, 15 Nov 2004 21:55:06 +0000 (21:55 +0000)]
Cleanups.  Null out pointer after freeing it for paranoia

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17855 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIf a function is external, do not output a FunctionBlock for the function
Chris Lattner [Mon, 15 Nov 2004 21:46:40 +0000 (21:46 +0000)]
If a function is external, do not output a FunctionBlock for the function
AT ALL.  This saves 11 bytes per external function from the bytecode file,
and is also required to make GhostLinkage work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17854 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake functions default to having external linkage if they have no
Chris Lattner [Mon, 15 Nov 2004 21:43:03 +0000 (21:43 +0000)]
Make functions default to having external linkage if they have no
FunctionBlock.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17853 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove useless/confusing namespace qualifier.
Reid Spencer [Mon, 15 Nov 2004 21:27:05 +0000 (21:27 +0000)]
Remove useless/confusing namespace qualifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17852 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd BCTR and LWZU instruction opcodes
Misha Brukman [Mon, 15 Nov 2004 21:20:09 +0000 (21:20 +0000)]
Add BCTR and LWZU instruction opcodes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17851 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerge content of RequiredSoftware.html into GettingStarted.html
Reid Spencer [Mon, 15 Nov 2004 21:15:12 +0000 (21:15 +0000)]
Merge content of RequiredSoftware.html into GettingStarted.html
Remove now defunct RequiredSoftware.html.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17850 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Add entry for Linux/PowerPC
Misha Brukman [Mon, 15 Nov 2004 21:05:08 +0000 (21:05 +0000)]
* Add entry for Linux/PowerPC
* Mark MacOS X/PPC support as 32-bit-only
* Fix FreeBSD space usage -- it's in MB, not GB

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17848 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBe less verbose when `The' and `command' just aren't necessary
Misha Brukman [Mon, 15 Nov 2004 20:39:30 +0000 (20:39 +0000)]
Be less verbose when `The' and `command' just aren't necessary

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17846 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNo need for the verbose `the llvm-link command' when simply `llvm-link' will do
Misha Brukman [Mon, 15 Nov 2004 20:36:39 +0000 (20:36 +0000)]
No need for the verbose `the llvm-link command' when simply `llvm-link' will do

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17845 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoForce a short link to gccld's man page
Misha Brukman [Mon, 15 Nov 2004 20:32:58 +0000 (20:32 +0000)]
Force a short link to gccld's man page

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17844 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix syntax within a B<> tag
Misha Brukman [Mon, 15 Nov 2004 20:30:19 +0000 (20:30 +0000)]
Fix syntax within a B<> tag

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17843 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove personal email address.
Reid Spencer [Mon, 15 Nov 2004 20:25:08 +0000 (20:25 +0000)]
Remove personal email address.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17842 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the PowerPC 32-bit ABI output option
Misha Brukman [Mon, 15 Nov 2004 20:22:49 +0000 (20:22 +0000)]
Add the PowerPC 32-bit ABI output option

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17840 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBump version. Shouldn't this come from somewhere else??
Chris Lattner [Mon, 15 Nov 2004 20:06:11 +0000 (20:06 +0000)]
Bump version.  Shouldn't this come from somewhere else??

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17839 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Add an entry for llvm-ranlib
Misha Brukman [Mon, 15 Nov 2004 19:53:43 +0000 (19:53 +0000)]
* Add an entry for llvm-ranlib
* Add missing dashes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17838 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis is llvm-ar, not llvm-as.
Misha Brukman [Mon, 15 Nov 2004 19:50:15 +0000 (19:50 +0000)]
This is llvm-ar, not llvm-as.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17837 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove reference to llvm-ld.
Reid Spencer [Mon, 15 Nov 2004 19:47:20 +0000 (19:47 +0000)]
Remove reference to llvm-ld.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17836 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTerminate a list.
Reid Spencer [Mon, 15 Nov 2004 19:45:29 +0000 (19:45 +0000)]
Terminate a list.
Remove reference to llvm-ld

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17835 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove extra space char
Misha Brukman [Mon, 15 Nov 2004 19:30:05 +0000 (19:30 +0000)]
Remove extra space char

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17834 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis file was originally developed by the LLVM research group so this comment should...
Tanya Lattner [Mon, 15 Nov 2004 19:21:49 +0000 (19:21 +0000)]
This file was originally developed by the LLVM research group so this comment should stay. I also do NOT want my name explicity listed on src files. I am already mentioned in the credits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17833 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanges/corrections suggested from Chris Lattner's review.
Reid Spencer [Mon, 15 Nov 2004 19:12:06 +0000 (19:12 +0000)]
Changes/corrections suggested from Chris Lattner's review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17832 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWarning fixes for VC++, contributed by Morten Ofstad!
Chris Lattner [Mon, 15 Nov 2004 19:02:35 +0000 (19:02 +0000)]
Warning fixes for VC++, contributed by Morten Ofstad!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17831 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove unused variable for compilation by VC++.
Reid Spencer [Mon, 15 Nov 2004 17:29:41 +0000 (17:29 +0000)]
Remove unused variable for compilation by VC++.
Patch contributed by Morten Ofstad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17830 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdates to Visual C++ project files for building on win32.
Reid Spencer [Mon, 15 Nov 2004 17:28:08 +0000 (17:28 +0000)]
Updates to Visual C++ project files for building on win32.
Patch contributed by Morten Ofstad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17829 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate relative files.
Reid Spencer [Mon, 15 Nov 2004 17:27:00 +0000 (17:27 +0000)]
Update relative files.
Patch contributed by Morten Ofstad.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17828 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProvide the ThrowErrno utility.
Reid Spencer [Mon, 15 Nov 2004 17:21:57 +0000 (17:21 +0000)]
Provide the ThrowErrno utility.
Patch contributed by Morten Ofstad

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17827 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdjust implementation to match new interface.
Reid Spencer [Mon, 15 Nov 2004 17:20:28 +0000 (17:20 +0000)]
Adjust implementation to match new interface.
Patch provided by Morten Ofstad

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17826 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor cleanups. There is no reason for SCCP to derive from instvisitor anymore.
Chris Lattner [Mon, 15 Nov 2004 07:15:04 +0000 (07:15 +0000)]
Minor cleanups.  There is no reason for SCCP to derive from instvisitor anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17825 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCount more accurately
Chris Lattner [Mon, 15 Nov 2004 07:02:42 +0000 (07:02 +0000)]
Count more accurately

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17824 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate list of failing Benchmarks.
Brian Gaeke [Mon, 15 Nov 2004 05:57:26 +0000 (05:57 +0000)]
Update list of failing Benchmarks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17823 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExpand Defs to encompass all the possibly-call-clobbered regs.
Brian Gaeke [Mon, 15 Nov 2004 05:56:53 +0000 (05:56 +0000)]
Expand Defs to encompass all the possibly-call-clobbered regs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17822 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoQuiet warnings on the persephone tester
Chris Lattner [Mon, 15 Nov 2004 05:54:07 +0000 (05:54 +0000)]
Quiet warnings on the persephone tester

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17821 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTwo minor improvements:
Chris Lattner [Mon, 15 Nov 2004 05:45:33 +0000 (05:45 +0000)]
Two minor improvements:
 1. Speedup getValueState by having it not consider Arguments.  It's better
    to just add them before we start SCCP'ing.
 2. SCCP can delete the contents of dead blocks.  No really, it's ok!  This
    reduces the size of the IR for subsequent passes, even though
    simplifycfg would do the same job.  In practice, simplifycfg does not
    run until much later than sccp in gccas

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17820 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReplace the textual description with table specifying disk space requirements
Misha Brukman [Mon, 15 Nov 2004 05:19:53 +0000 (05:19 +0000)]
Replace the textual description with table specifying disk space requirements

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17819 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agorename InstValue to LatticeValue, as it holds for more than instructions.
Chris Lattner [Mon, 15 Nov 2004 05:03:30 +0000 (05:03 +0000)]
rename InstValue to LatticeValue, as it holds for more than instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17818 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoActually get the #include correct so it compiles .. duh.
Reid Spencer [Mon, 15 Nov 2004 04:47:22 +0000 (04:47 +0000)]
Actually get the #include correct so it compiles  .. duh.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17817 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSubstantially refactor the SCCP class into an SCCP pass and an SCCPSolver
Chris Lattner [Mon, 15 Nov 2004 04:44:20 +0000 (04:44 +0000)]
Substantially refactor the SCCP class into an SCCP pass and an SCCPSolver
class.  The only changes are minor:

 * Do not try to SCCP instructions that return void in the rewrite loop.
   This is silly and fool hardy, wasting a map lookup and adding an entry
   to the map which is never used.
 * If we decide something has an undefined value, rewrite it to undef,
   potentially leading to further simplications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17816 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake it actually compile on Solaris.
Reid Spencer [Mon, 15 Nov 2004 04:42:44 +0000 (04:42 +0000)]
Make it actually compile on Solaris.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17815 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConsolidate the implementation of TimeValue::now() for Unix to use the
Reid Spencer [Mon, 15 Nov 2004 04:36:36 +0000 (04:36 +0000)]
Consolidate the implementation of TimeValue::now() for Unix to use the
seemingly ubiquitous gettimeofday(3) call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17814 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConsolidate the implementation of TimeValue::now() for Unix to use the
Reid Spencer [Mon, 15 Nov 2004 04:36:35 +0000 (04:36 +0000)]
Consolidate the implementation of TimeValue::now() for Unix to use the
seemingly ubiquitous gettimeofday(3) call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17813 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Make sure the string table gets read even if there isn't a foreign
Reid Spencer [Mon, 15 Nov 2004 01:40:20 +0000 (01:40 +0000)]
* Make sure the string table gets read even if there isn't a foreign
  symbol table.
* Make sure we update the file pointer for each member when rebuilding the
  symbol table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17812 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanges necessary to enable linking of archives without LLVM symbol tables.
Reid Spencer [Mon, 15 Nov 2004 01:20:11 +0000 (01:20 +0000)]
Changes necessary to enable linking of archives without LLVM symbol tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17811 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove a forgotten debug output line.
Reid Spencer [Sun, 14 Nov 2004 23:49:55 +0000 (23:49 +0000)]
Remove a forgotten debug output line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17810 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement functionality suggested from code review: getStatusInfo should
Reid Spencer [Sun, 14 Nov 2004 23:30:38 +0000 (23:30 +0000)]
Implement functionality suggested from code review: getStatusInfo should
returnn false if the file doesn't exist rather than throw ane exception.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17809 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanges per code review:
Reid Spencer [Sun, 14 Nov 2004 23:29:00 +0000 (23:29 +0000)]
Changes per code review:
* Document StatusInfo fields better
* No lines > 80 cols
* Have getStatusInfo return bool if file doesn't exist
* Don't document in detail how temporary file name should be created.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17808 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLinker.h moved to include/llvm from include/llvm/Support.
Reid Spencer [Sun, 14 Nov 2004 23:27:04 +0000 (23:27 +0000)]
Linker.h moved to include/llvm from include/llvm/Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17807 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure IdentifyFileType is in the sys namespace.
Reid Spencer [Sun, 14 Nov 2004 23:26:18 +0000 (23:26 +0000)]
Make sure IdentifyFileType is in the sys namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17806 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLinker.h moved to include/llvm.
Reid Spencer [Sun, 14 Nov 2004 23:25:32 +0000 (23:25 +0000)]
Linker.h moved to include/llvm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17805 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agobugpoint needs LLVMLinker.a now.
Reid Spencer [Sun, 14 Nov 2004 23:23:18 +0000 (23:23 +0000)]
bugpoint needs LLVMLinker.a now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17804 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCorrect call of methods whose names have changed.
Reid Spencer [Sun, 14 Nov 2004 23:17:41 +0000 (23:17 +0000)]
Correct call of methods whose names have changed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17803 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis program needs libLLVMLinker.a now
Reid Spencer [Sun, 14 Nov 2004 23:12:22 +0000 (23:12 +0000)]
This program needs libLLVMLinker.a now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17802 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoLinker.h has a new home.
Reid Spencer [Sun, 14 Nov 2004 23:00:08 +0000 (23:00 +0000)]
Linker.h has a new home.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17801 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved to lib/Bytecode/Archive.
Reid Spencer [Sun, 14 Nov 2004 22:38:32 +0000 (22:38 +0000)]
Moved to lib/Bytecode/Archive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17800 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd missing include.
Alkis Evlogimenos [Sun, 14 Nov 2004 22:37:42 +0000 (22:37 +0000)]
Add missing include.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17799 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix usage of changed function prototype
Reid Spencer [Sun, 14 Nov 2004 22:30:54 +0000 (22:30 +0000)]
Fix usage of changed function prototype

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17798 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoA tool for adding a symbol table to LLVM Archives
Reid Spencer [Sun, 14 Nov 2004 22:29:21 +0000 (22:29 +0000)]
A tool for adding a symbol table to LLVM Archives

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17797 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMakefile for llvm-ranlib tool
Reid Spencer [Sun, 14 Nov 2004 22:28:33 +0000 (22:28 +0000)]
Makefile for llvm-ranlib tool

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17796 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago*Fix usage of changed function prototype*Use Archive interface to symbol table for...
Reid Spencer [Sun, 14 Nov 2004 22:27:46 +0000 (22:27 +0000)]
*Fix usage of changed function prototype*Use Archive interface to symbol table for archives

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17795 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis tool needs libLLVMArchive now
Reid Spencer [Sun, 14 Nov 2004 22:27:00 +0000 (22:27 +0000)]
This tool needs libLLVMArchive now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17794 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove linking declarations (in Linker.h now)
Reid Spencer [Sun, 14 Nov 2004 22:25:26 +0000 (22:25 +0000)]
Remove linking declarations (in Linker.h now)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17793 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWe need the libLLVMArchive library now
Reid Spencer [Sun, 14 Nov 2004 22:23:31 +0000 (22:23 +0000)]
We need the libLLVMArchive library now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17792 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved to lib/Linker (common with gccld)
Reid Spencer [Sun, 14 Nov 2004 22:22:45 +0000 (22:22 +0000)]
Moved to lib/Linker (common with gccld)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17791 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTotal rewrite using Archive library & new functionality
Reid Spencer [Sun, 14 Nov 2004 22:20:07 +0000 (22:20 +0000)]
Total rewrite using Archive library & new functionality

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17790 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis tool needs the libLLVMArchive library now.
Reid Spencer [Sun, 14 Nov 2004 22:19:21 +0000 (22:19 +0000)]
This tool needs the libLLVMArchive library now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17789 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove linking declarations (in Linker.h now)
Reid Spencer [Sun, 14 Nov 2004 22:17:49 +0000 (22:17 +0000)]
Remove linking declarations (in Linker.h now)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17788 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProvide exception handling
Reid Spencer [Sun, 14 Nov 2004 22:17:03 +0000 (22:17 +0000)]
Provide exception handling

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17787 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved to lib/Linker
Reid Spencer [Sun, 14 Nov 2004 22:15:31 +0000 (22:15 +0000)]
Moved to lib/Linker

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17786 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd the llvm-ranlib tool
Reid Spencer [Sun, 14 Nov 2004 22:13:59 +0000 (22:13 +0000)]
Add the llvm-ranlib tool

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17785 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse llvm-ar not ar for constructing archive. Wrap at 80 cols.
Reid Spencer [Sun, 14 Nov 2004 22:13:13 +0000 (22:13 +0000)]
Use llvm-ar not ar for constructing archive. Wrap at 80 cols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17784 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoForget strerror_r, it causes problems. Fix later when threading matters
Reid Spencer [Sun, 14 Nov 2004 22:10:54 +0000 (22:10 +0000)]
Forget strerror_r, it causes problems. Fix later when threading matters

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17783 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the toString method
Reid Spencer [Sun, 14 Nov 2004 22:10:08 +0000 (22:10 +0000)]
Implement the toString method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17782 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate for prototype changes
Reid Spencer [Sun, 14 Nov 2004 22:09:22 +0000 (22:09 +0000)]
Update for prototype changes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17781 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Implement getDirectoryContents * Implement getStatusInfo * Implement setStatusInfo...
Reid Spencer [Sun, 14 Nov 2004 22:08:36 +0000 (22:08 +0000)]
* Implement getDirectoryContents * Implement getStatusInfo * Implement setStatusInfo * Implement renameFile

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17780 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bugs in class invariant
Reid Spencer [Sun, 14 Nov 2004 22:07:50 +0000 (22:07 +0000)]
Fix bugs in class invariant

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17779 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude the correct implementation file
Reid Spencer [Sun, 14 Nov 2004 22:07:04 +0000 (22:07 +0000)]
Include the correct implementation file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17778 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't exceed 80 columns.
Reid Spencer [Sun, 14 Nov 2004 22:06:18 +0000 (22:06 +0000)]
Don't exceed 80 columns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17777 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement IdentifyFileType function
Reid Spencer [Sun, 14 Nov 2004 22:05:32 +0000 (22:05 +0000)]
Implement IdentifyFileType function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17776 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the high level interface to make (de)compression easier.
Reid Spencer [Sun, 14 Nov 2004 22:04:46 +0000 (22:04 +0000)]
Implement the high level interface to make (de)compression easier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17775 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the MoreHelp utility that calls a function to printmore help information...
Reid Spencer [Sun, 14 Nov 2004 22:04:00 +0000 (22:04 +0000)]
Implement the MoreHelp utility that calls a function to printmore help information if the MoreHelp global is not null.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17774 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't bother with a re-linked library, ensure archive library is built.
Reid Spencer [Sun, 14 Nov 2004 22:03:14 +0000 (22:03 +0000)]
Don't bother with a re-linked library, ensure archive library is built.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17773 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago*Adjust prototypes for public interface. *Rewrite LinkInArchive to use symbol tables.
Reid Spencer [Sun, 14 Nov 2004 22:02:27 +0000 (22:02 +0000)]
*Adjust prototypes for public interface. *Rewrite LinkInArchive to use symbol tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17772 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify compression code by using the high level interface to the Compressor
Reid Spencer [Sun, 14 Nov 2004 22:01:41 +0000 (22:01 +0000)]
Simplify compression code by using the high level interface to the Compressor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17771 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd wrappers to get defined symbols from bytecode
Reid Spencer [Sun, 14 Nov 2004 22:00:48 +0000 (22:00 +0000)]
Add wrappers to get defined symbols from bytecode

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17770 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify handling of decompression
Reid Spencer [Sun, 14 Nov 2004 22:00:09 +0000 (22:00 +0000)]
Simplify handling of decompression

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17769 91177308-0d34-0410-b5e6-96231b3b80d8