Skip to content
  1. Aug 23, 2006
    • Reid Spencer's avatar
      For PR797: · 879ed5ab
      Reid Spencer authored
      Eliminate exception throwing from Path::renamePathOnDisk and adjust its
      users correspondingly.
      
      llvm-svn: 29843
      879ed5ab
    • Reid Spencer's avatar
      Make the ProgramName variable a std::string so we can eliminate the path · bd156a90
      Reid Spencer authored
      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
      bd156a90
    • Reid Spencer's avatar
      For PR797: · 51edba15
      Reid Spencer authored
      Remove exception throwing from Path::getDirectoryContents and its users.
      
      llvm-svn: 29841
      51edba15
    • Reid Spencer's avatar
      For PR797: · 8db84424
      Reid Spencer authored
      Remove exceptions from the Path::create*OnDisk methods. Update their users
      to handle error messages via arguments and result codes.
      
      llvm-svn: 29840
      8db84424
    • Reid Spencer's avatar
      For PR797: · a1a7a352
      Reid Spencer authored
      Adjust code to compensate for Path class interface change.
      
      llvm-svn: 29837
      a1a7a352
    • Reid Spencer's avatar
      For PR797: · 9d2f19c7
      Reid Spencer authored
      Change the Path::make*OnDisk methods exception free and adjust their usage.
      
      llvm-svn: 29836
      9d2f19c7
    • Reid Spencer's avatar
      Update for changes in Path class interface for exception removal. · 7e73c513
      Reid Spencer authored
      llvm-svn: 29834
      7e73c513
  2. Aug 22, 2006
  3. Aug 21, 2006
  4. Aug 20, 2006
  5. Aug 18, 2006
    • Chris Lattner's avatar
      regenerate · 680aab65
      Chris Lattner authored
      llvm-svn: 29771
      680aab65
    • Chris Lattner's avatar
      trivial optimization · 682e17c1
      Chris Lattner authored
      llvm-svn: 29770
      682e17c1
    • Reid Spencer's avatar
      b50974ac
    • Reid Spencer's avatar
      For PR797: · 7c9ec5ff
      Reid Spencer authored
      1. Actually turn on -fno-exceptions in libraries that do not have the
         REQUIRES_EH option in their Makefile. The following library file size
         savings were made (DEBUG):
            libLLVMDataStructure.a  525K
            libLLVMCore.a           380K
            libLLVMCodeGen.a        350K
            libLLVMTransformUtils.a 305K
            libLLVMScalarOpts.a     270K
            libLLVMAnalysis.a       247K
            libLLVMSelectionDAG.a   233K
            libLLVMipo.a            175K
            LLVMX86.o               123K
            LLVMPPC.o                81K
            libLLVMipa.a             17K
                       TOTAL      2,706K
            Note that the savings is actually a little larger than this because
            I didn't count any of the libraries that had small changes.
      
      2. Remove REQUIRES_EH from the AsmParser library as it is now exception
         free. This resulted in a nearly 78K drop in the size of the debug
         library for AsmParser.
      
      llvm-svn: 29767
      7c9ec5ff
    • Reid Spencer's avatar
      Fix a grammaro in a comment. · 5495fe8d
      Reid Spencer authored
      llvm-svn: 29765
      5495fe8d
    • Reid Spencer's avatar
      For PR797: · 713eedc1
      Reid Spencer authored
      Rid the Assembly Parser of exceptions. This is a really gross hack but it
      will do until the Assembly Parser is re-written as a recursive descent.
      The basic premise is that wherever the old "ThrowException" function was
      called (new name: GenerateError) we set a flag (TriggerError). Every
      production checks that flag and calls YYERROR if it is set. Additionally,
      each call to ThrowException in the grammar is replaced with GEN_ERROR
      which calls GenerateError and then YYERROR immediately. This prevents
      the remaining production from continuing after an error condition.
      
      llvm-svn: 29763
      713eedc1
    • Chris Lattner's avatar
      Constify some methods. Patch provided by Anton Vayvod, thanks! · 60f1eecd
      Chris Lattner authored
      llvm-svn: 29756
      60f1eecd
Loading