Commit Graph

26075 Commits

Author SHA1 Message Date
Reid Spencer 2fe39fea85 For PR797:
This library no longer throws nor handles exceptions, so turn off the
REQUIRES_EH flag.

llvm-svn: 29849
2006-08-23 20:39:25 +00:00
Reid Spencer d62a96323d For PR797:
Final remove of exception handling from this file. lib/System can no longer
throw exceptions so there's no need for try/catch blocks here.

llvm-svn: 29848
2006-08-23 20:37:59 +00:00
Reid Spencer dd27929918 Turn off exception handling for this library. It no longer throws nor
handles exceptions.

llvm-svn: 29847
2006-08-23 20:35:51 +00:00
Reid Spencer e4ca722199 For PR797:
Final removal of exceptions from lib/System and adjustment of users to
accommodate.

llvm-svn: 29846
2006-08-23 20:34:57 +00:00
Reid Spencer 543cc0a2bc Fix constructor documentation.
llvm-svn: 29845
2006-08-23 17:43:20 +00:00
Devang Patel 663a005fba If unable to create tmp. file on disk then return LTO_WRITE_FAILURE status.
llvm-svn: 29844
2006-08-23 16:59:25 +00:00
Reid Spencer 879ed5ab9c For PR797:
Eliminate exception throwing from Path::renamePathOnDisk and adjust its
users correspondingly.

llvm-svn: 29843
2006-08-23 07:30:48 +00:00
Reid Spencer bd156a901d Make the ProgramName variable a std::string so we can eliminate the path
portion fo the program name via sys::Path().getLast(). This makes error
messages more readable since this is invariably used only in error
messages.  Instead of:
  /path/to/llvm/bin/directory/toolname: error message
we will now get:
  toolname: error message
Also, since we always have a program name (even if its defaulted), don't
check to see if it is set or not when generating error messages. This
eliminates a bunch of constant strings, saving a little under 1K of data.

llvm-svn: 29842
2006-08-23 07:10:06 +00:00
Reid Spencer 51edba15c6 For PR797:
Remove exception throwing from Path::getDirectoryContents and its users.

llvm-svn: 29841
2006-08-23 06:56:27 +00:00
Reid Spencer 8db844241b For PR797:
Remove exceptions from the Path::create*OnDisk methods. Update their users
to handle error messages via arguments and result codes.

llvm-svn: 29840
2006-08-23 00:39:35 +00:00
Reid Spencer 3376c6d8c5 Rearrange order to build more frequently used tools first and make the
triplet ordering (large, small, small) explicit with one triplet per line.

llvm-svn: 29839
2006-08-23 00:12:11 +00:00
Reid Spencer 37162a57ab Fix a typo.
llvm-svn: 29838
2006-08-23 00:06:14 +00:00
Reid Spencer a1a7a35267 For PR797:
Adjust code to compensate for Path class interface change.

llvm-svn: 29837
2006-08-22 23:54:35 +00:00
Reid Spencer 9d2f19c7e4 For PR797:
Change the Path::make*OnDisk methods exception free and adjust their usage.

llvm-svn: 29836
2006-08-22 23:27:23 +00:00
Reid Spencer 9afdac4a55 Rearrange the build order to better accommodate parallel build by reducing
memory pressure. This order spaces out large executables with small ones in
between so that in a -j2 or -j3 build, it only attempts to build only one
large executable at time. If you're doing -j4, you probably have enuogh
memory anyway.

llvm-svn: 29835
2006-08-22 23:21:21 +00:00
Reid Spencer 7e73c51351 Update for changes in Path class interface for exception removal.
llvm-svn: 29834
2006-08-22 22:46:39 +00:00
Reid Spencer e9a405685d Add irix as a (potential) new platform so that Timothy Baldridge can
(hopefully) provide support for it.

llvm-svn: 29833
2006-08-22 22:21:38 +00:00
Misha Brukman ac1e58a3eb Added link to ABI documentation, sent by Rafael Espindola.
llvm-svn: 29832
2006-08-22 21:56:43 +00:00
Reid Spencer 6ba87bbfd3 Make the sys::Path::GetTemporaryDirectory method not throw exceptions and
adjust users of it to compensate.

llvm-svn: 29831
2006-08-22 19:01:30 +00:00
Chris Lattner 2e9f1bc056 Improve the LiveInterval class to keep track of which machine instruction
defines each value# tracked by the interval.  This will be used to improve
coallescing.

llvm-svn: 29830
2006-08-22 18:19:46 +00:00
Patrick Jenkins 06725191ab Corrected an error that was introduced yesterday that caused the GCC
version to be left blank if the build failed.

Also corrected a problem where if the build failed the nightly tester
would still try to read the results of the Dejagnutests log even
though it didnt exist.

llvm-svn: 29829
2006-08-22 18:11:19 +00:00
Reid Spencer ffa6f2581d Fix another occurrence of inverted logic on the result of MappedFile::map
llvm-svn: 29828
2006-08-22 18:03:02 +00:00
Reid Spencer c5baec42a7 Inverse the error check logic for the MappedFile::map() call. It returns
a null pointer when there is an error.

llvm-svn: 29827
2006-08-22 17:58:50 +00:00
Reid Spencer b1f9935407 Don't throw needlessly. Failure of gettimeofday is *very* unlinkely so
just return MinTime if that should ever happen.

llvm-svn: 29826
2006-08-22 17:38:44 +00:00
Reid Spencer bcf307a049 Fix some indentation.
llvm-svn: 29825
2006-08-22 17:38:05 +00:00
Chris Lattner bd2a8b6d71 add resize, move swap out of line
llvm-svn: 29823
2006-08-22 17:28:57 +00:00
Rafael Espindola 7930e898b2 run llc with -march=arm in select.ll
llvm-svn: 29821
2006-08-22 16:19:54 +00:00
Reid Spencer 0a9054ba97 For PR797:
Adjust the use of MappedFile to its new non-throwing interface. We just
propagate the exceptions if an error occurs. This will get cleaned up
later, incrementally.

llvm-svn: 29820
2006-08-22 16:10:12 +00:00
Reid Spencer e5d1fd8080 For PR797:
Make the Bytecode Reader use setjmp/longjump instead of exceptions to handle
errors. The alternative was even uglier than setjmp/longjump as it would
impact the interface and workings of nearly every function in the reader.

llvm-svn: 29819
2006-08-22 16:09:19 +00:00
Reid Spencer 64c5920336 For PR797:
Adjust to new interface for MappedFile. Note that the new "throw"
statements will be removed later.

llvm-svn: 29818
2006-08-22 16:07:44 +00:00
Reid Spencer efdc3a13cd For PR797:
Adjust users of MappedFile to its new non-throwing interface.  Note that in
most cases the lazy step of just throwing after a call to MappedFile was
installed. This was done in the name of incremental changes. Getting rid of
the new throw statements will take adjustment of interfaces and propagation
of errors to higher levels.  Those changes will come in subsequent patches.

llvm-svn: 29817
2006-08-22 16:06:27 +00:00
Reid Spencer df1297dd3a For PR797:
Make MappedFile not throw any exceptions.

llvm-svn: 29816
2006-08-22 16:04:22 +00:00
Reid Spencer 8a77bb9815 For PR797:
Fix a bug in my last patch that botched file redirection by using explicit
scoping of if statements.

llvm-svn: 29815
2006-08-22 15:56:52 +00:00
Rafael Espindola ea500426d6 add a README.txt
llvm-svn: 29814
2006-08-22 12:22:46 +00:00
Chris Lattner 3b944e97af This passes.
llvm-svn: 29813
2006-08-22 06:43:24 +00:00
Chris Lattner 6403d8f1ef Switch to using smallvector for liveintervals. This speeds up live interval
analysis 11% on kc++.

llvm-svn: 29812
2006-08-22 06:32:56 +00:00
Chris Lattner 1a0d996081 add a bunch more operations, including swap, insert, erase, front(), and
bugfixes for operator=.

llvm-svn: 29811
2006-08-22 06:27:16 +00:00
Reid Spencer f69a17123b Use the correct syntax.
Note to self: test before committing things!

llvm-svn: 29810
2006-08-22 05:40:51 +00:00
Reid Spencer cc2c12feef Add a simple RUN line so this doesn't always fail. XFAIL this until
Rafael can get a chance to fix it.

llvm-svn: 29809
2006-08-22 05:37:43 +00:00
Reid Spencer 6ad2a91fb3 Make an error message a little more intelligible.
llvm-svn: 29808
2006-08-22 05:28:38 +00:00
Bill Wendling 568dca96c9 Modified the RUN line from "analyze ..." to "opt -analyze ..." because
Reid removed the analyze tool and incorporated it into the opt tool.

llvm-svn: 29807
2006-08-22 04:37:51 +00:00
Chris Lattner 672b0e2a3b move LiveInterval state all together
llvm-svn: 29806
2006-08-21 23:15:12 +00:00
Chris Lattner 1d77a0ff88 Print physreg names symbolically in dumps
llvm-svn: 29805
2006-08-21 23:03:54 +00:00
Jim Laskey 98a1385764 Update info on mangled names.
llvm-svn: 29804
2006-08-21 22:57:31 +00:00
Chris Lattner 213159a6ee Print debug info as:
*** Register mapping ***
  reg 1024 -> %reg1028
  reg 1026 -> EAX
  reg 1027 -> %reg1028

instead of:

*** Register mapping ***
  reg 1024 -> reg 1028
  reg 1026 -> reg 15
  reg 1027 -> reg 1028

llvm-svn: 29803
2006-08-21 22:56:29 +00:00
Rafael Espindola d0dee77718 initial support for select
llvm-svn: 29802
2006-08-21 22:00:32 +00:00
Jim Laskey 4771cca1b5 Update debugging documents.
llvm-svn: 29800
2006-08-21 21:21:06 +00:00
Jim Laskey b6ac11e120 Adding C++ member support.
llvm-svn: 29799
2006-08-21 21:20:18 +00:00
Jim Laskey 5c51c2b4ab Adding new Dwarf constants.
llvm-svn: 29798
2006-08-21 21:18:10 +00:00
Patrick Jenkins 235abe4ce8 The new nightly tester should stop outputing a message stating the
testresults directory is not present unless the script is run as verbose.

llvm-svn: 29797
2006-08-21 20:45:57 +00:00