[llvm-commits] CVS: llvm/autoconf/configure.ac
Changes in directory llvm/autoconf: configure.ac updated: 1.236 - 1.237 --- Log message: Fixed a typo. --- Diffs of the changes: (+1 -1) configure.ac |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/autoconf/configure.ac diff -u llvm/autoconf/configure.ac:1.236 llvm/autoconf/configure.ac:1.237 --- llvm/autoconf/configure.ac:1.236Tue Jun 20 17:16:32 2006 +++ llvm/autoconf/configure.ac Thu Jul 6 02:45:49 2006 @@ -282,7 +282,7 @@ dnl Allow specific targets to be specified for building (or not) TARGETS_TO_BUILD= -AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-target], +AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets], [Build specific host targets: all,host-only,{target-name} (default=all)]),, enableval=all) case $enableval in ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/configure
Changes in directory llvm: configure updated: 1.239 - 1.240 --- Log message: Fixed a typo. --- Diffs of the changes: (+1 -1) configure |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/configure diff -u llvm/configure:1.239 llvm/configure:1.240 --- llvm/configure:1.239Tue Jun 20 17:16:32 2006 +++ llvm/configure Thu Jul 6 02:46:33 2006 @@ -1041,7 +1041,7 @@ --enable-jitEnable Just In Time Compiling (default is YES) --enable-doxygenBuild doxygen documentation (default is NO) --enable-threadsUse threads if available (default is YES) - --enable-target Build specific host targets: + --enable-targetsBuild specific host targets: all,host-only,{target-name} (default=all) --enable-ltdl-install install libltdl --enable-shared[=PKGS] ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
Changes in directory llvm/lib/Target/PowerPC: PPCTargetMachine.cpp updated: 1.95 - 1.96 --- Log message: Undisable ppc64 jit --- Diffs of the changes: (+1 -1) PPCTargetMachine.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.95 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.96 --- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.95 Fri Jun 16 19:01:04 2006 +++ llvm/lib/Target/PowerPC/PPCTargetMachine.cppThu Jul 6 12:10:42 2006 @@ -46,7 +46,7 @@ unsigned PPC64TargetMachine::getJITMatchQuality() { #if defined(__POWERPC__) || defined (__ppc__) || defined(_POWER) if (sizeof(void*) == 8) -return 10 * 0/*FIXME: not PPC64-JIT support yet! */; +return 10; #endif return 0; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/llvm2cpp.cpp
Changes in directory llvm/tools/llvm2cpp: llvm2cpp.cpp updated: 1.3 - 1.4 --- Log message: Change the verifier to never throw an exception. Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway. --- Diffs of the changes: (+10 -8) llvm2cpp.cpp | 18 ++ 1 files changed, 10 insertions(+), 8 deletions(-) Index: llvm/tools/llvm2cpp/llvm2cpp.cpp diff -u llvm/tools/llvm2cpp/llvm2cpp.cpp:1.3 llvm/tools/llvm2cpp/llvm2cpp.cpp:1.4 --- llvm/tools/llvm2cpp/llvm2cpp.cpp:1.3Mon May 29 13:06:28 2006 +++ llvm/tools/llvm2cpp/llvm2cpp.cppThu Jul 6 13:01:01 2006 @@ -59,14 +59,16 @@ return 1; } -try { - if (!DisableVerify) -verifyModule(*M.get(), ThrowExceptionAction); -} catch (const std::string Err) { - std::cerr argv[0] - : assembly parsed, but does not verify as correct!\n; - std::cerr Err; - return 1; +// FIXME: llvm2cpp should read .bc files and thus not run the verifier +// explicitly! +if (!DisableVerify) { + std::string Err; + if (verifyModule(*M.get(), ReturnStatusAction, Err)) { +std::cerr argv[0] + : assembly parsed, but does not verify as correct!\n; +std::cerr Err; +return 1; + } } if (OutputFilename != ) { // Specified an output filename? ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-as/llvm-as.cpp
Changes in directory llvm/tools/llvm-as: llvm-as.cpp updated: 1.45 - 1.46 --- Log message: Change the verifier to never throw an exception. Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway. --- Diffs of the changes: (+8 -8) llvm-as.cpp | 16 1 files changed, 8 insertions(+), 8 deletions(-) Index: llvm/tools/llvm-as/llvm-as.cpp diff -u llvm/tools/llvm-as/llvm-as.cpp:1.45 llvm/tools/llvm-as/llvm-as.cpp:1.46 --- llvm/tools/llvm-as/llvm-as.cpp:1.45 Mon May 29 13:52:52 2006 +++ llvm/tools/llvm-as/llvm-as.cpp Thu Jul 6 13:01:01 2006 @@ -63,14 +63,14 @@ return 1; } -try { - if (!DisableVerify) -verifyModule(*M.get(), ThrowExceptionAction); -} catch (const std::string Err) { - std::cerr argv[0] - : assembly parsed, but does not verify as correct!\n; - std::cerr Err; - return 1; +if (!DisableVerify) { + std::string Err; + if (verifyModule(*M.get(), ReturnStatusAction, Err)) { +std::cerr argv[0] + : assembly parsed, but does not verify as correct!\n; +std::cerr Err; +return 1; + } } if (DumpAsm) std::cerr Here's the assembly:\n *M.get(); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.6 - 1.7 --- Log message: Change the verifier to never throw an exception. Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway. --- Diffs of the changes: (+1 -14) llvm-bcanalyzer.cpp | 15 +-- 1 files changed, 1 insertion(+), 14 deletions(-) Index: llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp diff -u llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp:1.6 llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp:1.7 --- llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp:1.6 Thu Apr 21 18:59:35 2005 +++ llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp Thu Jul 6 13:01:01 2006 @@ -73,23 +73,10 @@ if ( M Verify ) { std::string verificationMsg; - try { -verifyModule( *M, ThrowExceptionAction ); - } catch (std::string errmsg ) { -verificationMsg = errmsg; - } - if ( verificationMsg.length() 0 ) + if (verifyModule(*M, ReturnStatusAction, verificationMsg)) std::cerr Final Verification Message: verificationMsg \n; } - -// If there was an error, print it and stop. -if ( ErrorMessage.size() ) { - std::cerr argv[0] : ErrorMessage \n; - return 1; -} - - if (Out != std::cout) { ((std::ofstream*)Out)-close(); delete Out; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/Analysis/Verifier.h
Changes in directory llvm/include/llvm/Analysis: Verifier.h updated: 1.15 - 1.16 --- Log message: Change the verifier to never throw an exception. Instead verifyModule can optionally return the string error, which is an easier api for clients to use anyway. --- Diffs of the changes: (+4 -2) Verifier.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Analysis/Verifier.h diff -u llvm/include/llvm/Analysis/Verifier.h:1.15 llvm/include/llvm/Analysis/Verifier.h:1.16 --- llvm/include/llvm/Analysis/Verifier.h:1.15 Thu Apr 21 22:25:27 2005 +++ llvm/include/llvm/Analysis/Verifier.h Thu Jul 6 13:00:01 2006 @@ -21,6 +21,8 @@ #ifndef LLVM_ANALYSIS_VERIFIER_H #define LLVM_ANALYSIS_VERIFIER_H +#include string + namespace llvm { class FunctionPass; @@ -35,7 +37,6 @@ /// actions are listed below. enum VerifierFailureAction { AbortProcessAction, /// verifyModule will print to stderr and abort() - ThrowExceptionAction, /// verifyModule will throw errors as std::string PrintMessageAction, /// verifyModule will print to stderr and return true ReturnStatusAction/// verifyModule will just return true }; @@ -58,7 +59,8 @@ bool verifyModule( const Module M, /// The module to be verified - VerifierFailureAction action = AbortProcessAction /// Action to take + VerifierFailureAction action = AbortProcessAction, /// Action to take + std::string *ErrorInfo = 0 /// Information about failures. ); // verifyFunction - Check a function for errors, useful for use when debugging a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Changes in directory llvm/lib/VMCore: Verifier.cpp updated: 1.157 - 1.158 --- Log message: Change the verifier to never throw an exception. Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway. --- Diffs of the changes: (+7 -8) Verifier.cpp | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) Index: llvm/lib/VMCore/Verifier.cpp diff -u llvm/lib/VMCore/Verifier.cpp:1.157 llvm/lib/VMCore/Verifier.cpp:1.158 --- llvm/lib/VMCore/Verifier.cpp:1.157 Wed Jun 28 16:38:54 2006 +++ llvm/lib/VMCore/Verifier.cppThu Jul 6 13:01:23 2006 @@ -152,18 +152,13 @@ /// this condition, do so. /// void abortIfBroken() { - if (Broken) - { + if (Broken) { msgs Broken module found, ; -switch (action) -{ +switch (action) { case AbortProcessAction: msgs compilation aborted!\n; std::cerr msgs.str(); abort(); - case ThrowExceptionAction: -msgs verification terminated.\n; -throw msgs.str(); case PrintMessageAction: msgs verification continues.\n; std::cerr msgs.str(); @@ -799,11 +794,15 @@ /// verifyModule - Check a module for errors, printing messages on stderr. /// Return true if the module is corrupt. /// -bool llvm::verifyModule(const Module M, VerifierFailureAction action) { +bool llvm::verifyModule(const Module M, VerifierFailureAction action, +std::string *ErrorInfo) { PassManager PM; Verifier *V = new Verifier(action); PM.add(V); PM.run((Module)M); + + if (ErrorInfo V-Broken) +*ErrorInfo = V-msgs.str(); return V-Broken; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Analyzer.cpp
Changes in directory llvm/lib/Bytecode/Reader: Analyzer.cpp updated: 1.21 - 1.22 --- Log message: Change the verifier to never throw an exception. Instead verifyModule canoptionally return the string error, which is an easier api for clients touse anyway. --- Diffs of the changes: (+15 -25) Analyzer.cpp | 40 +++- 1 files changed, 15 insertions(+), 25 deletions(-) Index: llvm/lib/Bytecode/Reader/Analyzer.cpp diff -u llvm/lib/Bytecode/Reader/Analyzer.cpp:1.21 llvm/lib/Bytecode/Reader/Analyzer.cpp:1.22 --- llvm/lib/Bytecode/Reader/Analyzer.cpp:1.21 Mon Dec 26 08:23:22 2005 +++ llvm/lib/Bytecode/Reader/Analyzer.cpp Thu Jul 6 13:02:27 2006 @@ -117,12 +117,10 @@ bca.functionDensity = double(bca.BlockSizes[BytecodeFormat::FunctionBlockID]) / double(bca.numFunctions); -if ( bca.progressiveVerify ) { - try { -verifyModule(*M, ThrowExceptionAction); - } catch ( std::string msg ) { +if (bca.progressiveVerify) { + std::string msg; + if (verifyModule(*M, ReturnStatusAction, msg)) bca.VerifyInfo += [EMAIL PROTECTED]: + msg + \n; - } } } @@ -135,12 +133,10 @@ virtual void handleModuleEnd(const std::string id) { if (os) *os} End Module id \n; -if ( bca.progressiveVerify ) { - try { -verifyModule(*M, ThrowExceptionAction); - } catch ( std::string msg ) { +if (bca.progressiveVerify) { + std::string msg; + if (verifyModule(*M, ReturnStatusAction, msg)) bca.VerifyInfo += [EMAIL PROTECTED]: + msg + \n; - } } } @@ -232,12 +228,10 @@ virtual void handleModuleGlobalsEnd() { if (os) *os } END BLOCK: ModuleGlobalInfo\n; -if ( bca.progressiveVerify ) { - try { -verifyModule(*M, ThrowExceptionAction); - } catch ( std::string msg ) { +if (bca.progressiveVerify) { + std::string msg; + if (verifyModule(*M, ReturnStatusAction, msg)) bca.VerifyInfo += [EMAIL PROTECTED]: + msg + \n; - } } } @@ -346,12 +340,10 @@ currFunc-density = double(currFunc-byteSize) / double(currFunc-numInstructions); -if ( bca.progressiveVerify ) { - try { -verifyModule(*M, ThrowExceptionAction); - } catch ( std::string msg ) { +if (bca.progressiveVerify) { + std::string msg; + if (verifyModule(*M, ReturnStatusAction, msg)) bca.VerifyInfo += [EMAIL PROTECTED]: + msg + \n; - } } } @@ -522,12 +514,10 @@ if (os) *os } END BLOCK: GlobalConstants\n; -if ( bca.progressiveVerify ) { - try { -verifyModule(*M, ThrowExceptionAction); - } catch ( std::string msg ) { +if (bca.progressiveVerify) { + std::string msg; + if (verifyModule(*M, ReturnStatusAction, msg)) bca.VerifyInfo += [EMAIL PROTECTED]: + msg + \n; - } } } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Support/CommandLine.cpp
Changes in directory llvm/lib/Support: CommandLine.cpp updated: 1.68 - 1.69 --- Log message: Print LLVM version info like this: Low Level Virtual Machine (http://llvm.org/): llvm version 1.8cvs DEBUG build with assertions. instead of like this: Low Level Virtual Machine (llvm) 1.8cvs (see http://llvm.org/) ASSERTIONS ENABLED Also, add a place for vendor version info. --- Diffs of the changes: (+13 -5) CommandLine.cpp | 18 +- 1 files changed, 13 insertions(+), 5 deletions(-) Index: llvm/lib/Support/CommandLine.cpp diff -u llvm/lib/Support/CommandLine.cpp:1.68 llvm/lib/Support/CommandLine.cpp:1.69 --- llvm/lib/Support/CommandLine.cpp:1.68 Mon Jun 5 11:22:56 2006 +++ llvm/lib/Support/CommandLine.cppThu Jul 6 13:33:03 2006 @@ -972,13 +972,21 @@ void operator=(bool OptionWasSpecified) { if (OptionWasSpecified) { if (OverrideVersionPrinter == 0) { -std::cout Low Level Virtual Machine ( PACKAGE_NAME ) - PACKAGE_VERSION (see http://llvm.org/); -#ifndef NDEBUG -std::cout ASSERTIONS ENABLED\n; +std::cout Low Level Virtual Machine (http://llvm.org/):\n; +std::cout PACKAGE_NAME version PACKAGE_VERSION; +#ifdef LLVM_VERSION_INFO +std::cout LLVM_VERSION_INFO; +#endif +std::cout \n ; +#ifndef __OPTIMIZE__ +std::cout DEBUG build; #else -std::cout \n; +std::cout Optimized build; +#endif +#ifndef NDEBUG +std::cout with assertions; #endif +std::cout .\n; getOpts().clear(); // Don't bother making option dtors remove from map. exit(1); } else { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl
Changes in directory llvm/utils: NewNightlyTest.pl added (r1.1) --- Log message: The first commit of NewNightlyTest.pl which instead of generating a webpage submits the results of the test to a central server for storage and display. --- Diffs of the changes: (+1024 -0) NewNightlyTest.pl | 1024 ++ 1 files changed, 1024 insertions(+) Index: llvm/utils/NewNightlyTest.pl diff -c /dev/null llvm/utils/NewNightlyTest.pl:1.1 *** /dev/null Thu Jul 6 16:19:42 2006 --- llvm/utils/NewNightlyTest.plThu Jul 6 16:19:32 2006 *** *** 0 --- 1,1024 + #!/usr/bin/perl + + use POSIX qw(strftime); + use File::Copy; + use Socket; + + # + # Program: NewNightlyTest.pl + # + # Synopsis: Perform a series of tests which are designed to be run nightly. + # This is used to keep track of the status of the LLVM tree, tracking + # regressions and performance changes. Submits this information + # to llvm.org where it is placed into the nightlytestresults database. + # + # Modified heavily by Patrick Jenkins, July 2006 + # + # Syntax: NightlyTest.pl [OPTIONS] [CVSROOT BUILDDIR WEBDIR] + # where + # OPTIONS may include one or more of the following: + # -nocheckout Do not create, checkout, update, or configure + # the source tree. + # -noremoveDo not remove the BUILDDIR after it has been built. + # -nobuild Do not build llvm. If tests are enabled perform them + # on the llvm build specified in the build directory + # -notest Do not even attempt to run the test programs. Implies + # -norunningtests. + # -norunningtests Do not run the Olden benchmark suite with + # LARGE_PROBLEM_SIZE enabled. + # -noexternals Do not run the external tests (for cases where povray + # or SPEC are not installed) + # -with-externals Specify a directory where the external tests are located. + # -nodejagnu Do not run feature or regression tests + # -parallelRun two parallel jobs with GNU Make. + # -release Build an LLVM Release version + # -enable-llcbeta Enable testing of beta features in llc. + # -disable-llc Disable LLC tests in the nightly tester. + # -disable-jit Disable JIT tests in the nightly tester. + # -disable-cbe Disable C backend tests in the nightly tester. + # -verbose Turn on some debug output + # -debug Print information useful only to maintainers of this script. + # -niceCheckout/Configure/Build with nice to reduce impact + # on busy servers. + # -f2c Next argument specifies path to F2C utility + # -nicknameThe next argument specifieds the nickname this script + # will submit to the nightlytest results repository. + # -gccpath Path to gcc/g++ used to build LLVM + # -cvstag Check out a specific CVS tag to build LLVM (useful for + # testing release branches) + # -target Specify the target triplet + # -cflags Next argument specifies that C compilation options that + # override the default. + # -cxxflagsNext argument specifies that C++ compilation options that + # override the default. + # -ldflags Next argument specifies that linker options that override + # the default. + # -extraflags Next argument specifies extra options that are passed to + # compile the tests. + # + # Options to configure llvm-test + # -spec2000pathPath to the benchspec directory in the SPEC 2000 distro + # -spec95path Path to the benchspec directory in the SPEC 95 distro. + # -povraypath Path to the povray sources + # -namdpathPath to the namd sources + # + # CVSROOT is the CVS repository from which the tree will be checked out, + # specified either in the full :method:[EMAIL PROTECTED]:/dir syntax, or + # just /dir if using a local repo. + # BUILDDIR is the directory where sources for this test run will be checked out + # AND objects for this test run will be built. This directory MUST NOT + # exist before the script is run; it will be created by the cvs checkout + # process and erased (unless -noremove is specified; see above.) + # WEBDIR is the directory into which the test results web page will be written, + # AND in which the index.html is assumed to be a symlink to the most recent + # copy of the results. This directory will be created if it does not exist. + # LLVMGCCDIR is the directory in which the LLVM GCC Front End is installed + # to. This is the same as you would have for a normal LLVM build. + # + ## + # + # Getting environment variables + # +
[llvm-commits] CVS: llvm/lib/Bytecode/Reader/Reader.h ReaderWrappers.cpp
Changes in directory llvm/lib/Bytecode/Reader: Reader.h updated: 1.28 - 1.29 ReaderWrappers.cpp updated: 1.54 - 1.55 --- Log message: Change the ModuleProvider interface to not throw exceptions. --- Diffs of the changes: (+32 -19) Reader.h | 25 - ReaderWrappers.cpp | 26 -- 2 files changed, 32 insertions(+), 19 deletions(-) Index: llvm/lib/Bytecode/Reader/Reader.h diff -u llvm/lib/Bytecode/Reader/Reader.h:1.28 llvm/lib/Bytecode/Reader/Reader.h:1.29 --- llvm/lib/Bytecode/Reader/Reader.h:1.28 Fri Jan 27 05:49:27 2006 +++ llvm/lib/Bytecode/Reader/Reader.h Thu Jul 6 16:35:01 2006 @@ -153,18 +153,33 @@ /// implementation is identical to the ParseFunction method. /// @see ParseFunction /// @brief Make a specific function materialize. - virtual void materializeFunction(Function *F) { + virtual bool materializeFunction(Function *F, std::string *ErrInfo = 0) { LazyFunctionMap::iterator Fi = LazyFunctionLoadMap.find(F); -if (Fi == LazyFunctionLoadMap.end()) return; -ParseFunction(F); +if (Fi == LazyFunctionLoadMap.end()) return false; +try { + ParseFunction(F); +} catch (std::string ErrStr) { + if (ErrInfo) *ErrInfo = ErrStr; + return true; +} catch (...) { + return true; +} +return false; } /// This method is abstract in the parent ModuleProvider class. Its /// implementation is identical to ParseAllFunctionBodies. /// @see ParseAllFunctionBodies /// @brief Make the whole module materialize - virtual Module* materializeModule() { -ParseAllFunctionBodies(); + virtual Module* materializeModule(std::string *ErrInfo = 0) { +try { + ParseAllFunctionBodies(); +} catch (std::string ErrStr) { + if (ErrInfo) *ErrInfo = ErrStr; + return 0; +} catch (...) { + return 0; +} return TheModule; } Index: llvm/lib/Bytecode/Reader/ReaderWrappers.cpp diff -u llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.54 llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.55 --- llvm/lib/Bytecode/Reader/ReaderWrappers.cpp:1.54Wed Jun 7 18:18:33 2006 +++ llvm/lib/Bytecode/Reader/ReaderWrappers.cpp Thu Jul 6 16:35:01 2006 @@ -170,7 +170,8 @@ // If we get to this point, we know that we have an old-style module. // Materialize the whole thing to perform the rewriting. - MP-materializeModule(); + if (MP-materializeModule() == 0) +return 0; if(Function* F = M-getNamedFunction(llvm.va_start)) { assert(F-arg_size() == 0 Obsolete va_start takes 0 argument!); @@ -376,22 +377,18 @@ // Get just the externally visible defined symbols from the bytecode bool llvm::GetBytecodeSymbols(const sys::Path fName, std::vectorstd::string symbols) { - try { -std::auto_ptrModuleProvider AMP( -getBytecodeModuleProvider(fName.toString())); + std::auto_ptrModuleProvider AMP( + getBytecodeModuleProvider(fName.toString())); -// Get the module from the provider -Module* M = AMP-materializeModule(); + // Get the module from the provider + Module* M = AMP-materializeModule(); + if (M == 0) return false; -// Get the symbols -getSymbols(M, symbols); + // Get the symbols + getSymbols(M, symbols); -// Done with the module -return true; - - } catch (...) { -return false; - } + // Done with the module + return true; } ModuleProvider* @@ -406,6 +403,7 @@ // Get the module from the provider Module* M = MP-materializeModule(); +if (M == 0) return 0; // Get the symbols getSymbols(M, symbols); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/Pass.cpp
Changes in directory llvm/lib/VMCore: Pass.cpp updated: 1.69 - 1.70 --- Log message: Change the ModuleProvider interface to not throw exceptions. --- Diffs of the changes: (+2 -6) Pass.cpp |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) Index: llvm/lib/VMCore/Pass.cpp diff -u llvm/lib/VMCore/Pass.cpp:1.69 llvm/lib/VMCore/Pass.cpp:1.70 --- llvm/lib/VMCore/Pass.cpp:1.69 Wed Jun 7 15:00:19 2006 +++ llvm/lib/VMCore/Pass.cppThu Jul 6 16:35:01 2006 @@ -95,14 +95,10 @@ void FunctionPassManager::add(FunctionPass *P) { PM-add(P); } void FunctionPassManager::add(ImmutablePass *IP) { PM-add(IP); } bool FunctionPassManager::run(Function F) { - try { -MP-materializeFunction(F); - } catch (std::string errstr) { + std::string errstr; + if (MP-materializeFunction(F, errstr)) { std::cerr Error reading bytecode file: errstr \n; abort(); - } catch (...) { -std::cerr Error reading bytecode file!\n; -abort(); } return PM-run(F); } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/ModuleProvider.h
Changes in directory llvm/include/llvm: ModuleProvider.h updated: 1.11 - 1.12 --- Log message: Change the ModuleProvider interface to not throw exceptions. --- Diffs of the changes: (+16 -10) ModuleProvider.h | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) Index: llvm/include/llvm/ModuleProvider.h diff -u llvm/include/llvm/ModuleProvider.h:1.11 llvm/include/llvm/ModuleProvider.h:1.12 --- llvm/include/llvm/ModuleProvider.h:1.11 Thu Apr 21 15:11:51 2005 +++ llvm/include/llvm/ModuleProvider.h Thu Jul 6 16:35:01 2006 @@ -18,6 +18,8 @@ #ifndef MODULEPROVIDER_H #define MODULEPROVIDER_H +#include string + namespace llvm { class Function; @@ -35,22 +37,24 @@ /// Module* getModule() { return TheModule; } - /// materializeFunction - make sure the given function is fully read. Note - /// that this can throw an exception if the module is corrupt! + /// materializeFunction - make sure the given function is fully read. If the + /// module is corrupt, this returns true and fills in the optional string + /// with information about the problem. If successful, this returns false. /// - virtual void materializeFunction(Function *F) = 0; + virtual bool materializeFunction(Function *F, std::string *ErrInfo = 0) = 0; /// materializeModule - make sure the entire Module has been completely read. - /// Note that this can throw an exception if the module is corrupt! + /// On error, return null and fill in the error string if specified. /// - virtual Module* materializeModule() = 0; + virtual Module* materializeModule(std::string *ErrInfo = 0) = 0; /// releaseModule - no longer delete the Module* when provider is destroyed. - /// Note that this can throw an exception if the module is corrupt! + /// On error, return null and fill in the error string if specified. /// - virtual Module* releaseModule() { + virtual Module* releaseModule(std::string *ErrInfo = 0) { // Since we're losing control of this Module, we must hand it back complete -materializeModule(); +if (materializeModule(ErrInfo)) + return 0; Module *tempM = TheModule; TheModule = 0; return tempM; @@ -66,8 +70,10 @@ ExistingModuleProvider(Module *M) { TheModule = M; } - void materializeFunction(Function *F) {} - Module* materializeModule() { return TheModule; } + bool materializeFunction(Function *F, std::string *ErrInfo = 0) { +return false; + } + Module* materializeModule(std::string *ErrInfo = 0) { return TheModule; } }; } // End llvm namespace ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp
Changes in directory llvm/lib/Debugger: ProgramInfo.cpp updated: 1.15 - 1.16 --- Log message: Modify the SlowOperationInformer interface to not throw exceptions. --- Diffs of the changes: (+4 -2) ProgramInfo.cpp |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/lib/Debugger/ProgramInfo.cpp diff -u llvm/lib/Debugger/ProgramInfo.cpp:1.15 llvm/lib/Debugger/ProgramInfo.cpp:1.16 --- llvm/lib/Debugger/ProgramInfo.cpp:1.15 Thu Mar 23 12:06:46 2006 +++ llvm/lib/Debugger/ProgramInfo.cpp Thu Jul 6 17:34:06 2006 @@ -280,7 +280,8 @@ // mapping. for (unsigned i = 0, e = TranslationUnits.size(); i != e; ++i) { getSourceFile(TranslationUnits[i]); -SOI.progress(i+1, e); +if (SOI.progress(i+1, e)) + throw While building source files index, operation cancelled.; } // Ok, if we got this far, then we indexed the whole program. @@ -361,7 +362,8 @@ // Loop over all of the functions found, building the SourceFunctions mapping. for (unsigned i = 0, e = Functions.size(); i != e; ++i) { getFunction(Functions[i]); -SOI.progress(i+1, e); +if (SOI.progress(i+1, e)) + throw While functions index, operation cancelled.; } // Ok, if we got this far, then we indexed the whole program. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/utils/NewNightlyTest.pl
Changes in directory llvm/utils: NewNightlyTest.pl updated: 1.1 - 1.2 --- Log message: Fixed a bug that looked for -Warnings.txt and -Tests.txt in ridiculous places. --- Diffs of the changes: (+2 -2) NewNightlyTest.pl |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/utils/NewNightlyTest.pl diff -u llvm/utils/NewNightlyTest.pl:1.1 llvm/utils/NewNightlyTest.pl:1.2 --- llvm/utils/NewNightlyTest.pl:1.1Thu Jul 6 16:19:32 2006 +++ llvm/utils/NewNightlyTest.plThu Jul 6 17:32:15 2006 @@ -697,7 +697,7 @@ # Emit the warnings file, so we can diff... WriteFile $WebDir/$DATE-Warnings.txt, $WarningsFile . \n; -my ($WarningsAdded, $WarningsRemoved) = DiffFiles $Prefix-Warnings.txt; +my ($WarningsAdded, $WarningsRemoved) = DiffFiles -Warnings.txt; # Output something to stdout if something has changed #print ADDED WARNINGS:\n$WarningsAdded\n\n if (length $WarningsAdded); @@ -812,7 +812,7 @@ $TestsFixed = berror testing/bbr; $TestsBroken = berror testing/bbr; } else { -my ($RTestsAdded, $RTestsRemoved) = DiffFiles $Prefix-Tests.txt; +my ($RTestsAdded, $RTestsRemoved) = DiffFiles -Tests.txt; my @RawTestsAddedArray = split '\n', $RTestsAdded; my @RawTestsRemovedArray = split '\n', $RTestsRemoved; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Support/SlowOperationInformer.cpp
Changes in directory llvm/lib/Support: SlowOperationInformer.cpp updated: 1.7 - 1.8 --- Log message: Modify the SlowOperationInformer interface to not throw exceptions. --- Diffs of the changes: (+4 -3) SlowOperationInformer.cpp |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/lib/Support/SlowOperationInformer.cpp diff -u llvm/lib/Support/SlowOperationInformer.cpp:1.7 llvm/lib/Support/SlowOperationInformer.cpp:1.8 --- llvm/lib/Support/SlowOperationInformer.cpp:1.7 Wed Dec 21 21:31:26 2005 +++ llvm/lib/Support/SlowOperationInformer.cpp Thu Jul 6 17:34:06 2006 @@ -37,18 +37,18 @@ /// an exception-safe state. The Amount variable should indicate how far /// along the operation is, given in 1/10ths of a percent (in other words, /// Amount should range from 0 to 1000). -void SlowOperationInformer::progress(unsigned Amount) { +bool SlowOperationInformer::progress(unsigned Amount) { int status = sys::AlarmStatus(); if (status == -1) { std::cout \n; LastPrintAmount = 0; -throw While + OperationName + , operation cancelled.; +return true; } // If we haven't spent enough time in this operation to warrant displaying the // progress bar, don't do so yet. if (status == 0) -return; +return false; // Delete whatever we printed last time. std::string ToPrint = std::string(LastPrintAmount, '\b'); @@ -62,4 +62,5 @@ LastPrintAmount = OS.str().size(); std::cout ToPrint+OS.str() std::flush; + return false; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/Support/SlowOperationInformer.h
Changes in directory llvm/include/llvm/Support: SlowOperationInformer.h updated: 1.7 - 1.8 --- Log message: Modify the SlowOperationInformer interface to not throw exceptions. --- Diffs of the changes: (+8 -9) SlowOperationInformer.h | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) Index: llvm/include/llvm/Support/SlowOperationInformer.h diff -u llvm/include/llvm/Support/SlowOperationInformer.h:1.7 llvm/include/llvm/Support/SlowOperationInformer.h:1.8 --- llvm/include/llvm/Support/SlowOperationInformer.h:1.7 Thu May 25 00:59:50 2006 +++ llvm/include/llvm/Support/SlowOperationInformer.h Thu Jul 6 17:34:06 2006 @@ -17,9 +17,7 @@ // appears on the screen (ie, the cursor should be at the start of the line). // // If the user presses CTRL-C during the operation, the next invocation of the -// progress method with throw an std::string object indicating that the -// operation was cancelled. As such, client code must be exception safe around -// the progress method. +// progress method return true indicating that the operation was cancelled. // // Because SlowOperationInformers fiddle around with signals, they cannot be // nested, and interact poorly with threads. The SIGALRM handler is set back to @@ -46,19 +44,20 @@ SlowOperationInformer(const std::string Name); ~SlowOperationInformer(); -/// progress - Clients should periodically call this method when they are in -/// an exception-safe state. The Amount variable should indicate how far +/// progress - Clients should periodically call this method when they can +/// handle cancellation. The Amount variable should indicate how far /// along the operation is, given in 1/10ths of a percent (in other words, -/// Amount should range from 0 to 1000). -void progress(unsigned Amount); +/// Amount should range from 0 to 1000). If the user cancels the operation, +/// this returns true, false otherwise. +bool progress(unsigned Amount); /// progress - Same as the method above, but this performs the division for /// you, and helps you avoid overflow if you are dealing with largish /// numbers. -void progress(unsigned Current, unsigned Maximum) { +bool progress(unsigned Current, unsigned Maximum) { assert(Maximum != 0 Shouldn't be doing work if there is nothing to do!); - progress(Current*uint64_t(1000UL)/Maximum); + return progress(Current*uint64_t(1000UL)/Maximum); } }; } // end namespace llvm ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/Makefile llvm2cpp.cpp
Changes in directory llvm/tools/llvm2cpp: Makefile updated: 1.5 - 1.6 llvm2cpp.cpp updated: 1.4 - 1.5 --- Log message: Fix PR819: http://llvm.org/PR819 , llvm2cpp should read .bc files, not .ll files. --- Diffs of the changes: (+56 -83) Makefile |5 -- llvm2cpp.cpp | 134 +++ 2 files changed, 56 insertions(+), 83 deletions(-) Index: llvm/tools/llvm2cpp/Makefile diff -u llvm/tools/llvm2cpp/Makefile:1.5 llvm/tools/llvm2cpp/Makefile:1.6 --- llvm/tools/llvm2cpp/Makefile:1.5Thu Jun 1 19:39:08 2006 +++ llvm/tools/llvm2cpp/MakefileThu Jul 6 18:48:57 2006 @@ -1,4 +1,4 @@ -##===- tools/llvm-as/Makefile --*- Makefile -*-===## +##===- tools/llvm2cpp/Makefile -*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -8,8 +8,7 @@ ##===--===## LEVEL = ../.. TOOLNAME = llvm2cpp -USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMCore.a \ - LLVMSupport.a LLVMbzip2.a LLVMSystem.a +USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a include $(LEVEL)/Makefile.common Index: llvm/tools/llvm2cpp/llvm2cpp.cpp diff -u llvm/tools/llvm2cpp/llvm2cpp.cpp:1.4 llvm/tools/llvm2cpp/llvm2cpp.cpp:1.5 --- llvm/tools/llvm2cpp/llvm2cpp.cpp:1.4Thu Jul 6 13:01:01 2006 +++ llvm/tools/llvm2cpp/llvm2cpp.cppThu Jul 6 18:48:57 2006 @@ -17,8 +17,7 @@ //====== #include llvm/Module.h -#include llvm/Assembly/Parser.h -#include llvm/Bytecode/Writer.h +#include llvm/Bytecode/Reader.h #include llvm/Analysis/Verifier.h #include llvm/Support/CommandLine.h #include llvm/Support/SystemUtils.h @@ -31,7 +30,7 @@ using namespace llvm; static cl::optstd::string -InputFilename(cl::Positional, cl::desc(input LLVM assembly file), +InputFilename(cl::Positional, cl::desc(input LLVM bytecode file), cl::init(-)); static cl::optstd::string @@ -41,100 +40,75 @@ static cl::optbool Force(f, cl::desc(Overwrite output files)); -static cl::optbool -DisableVerify(disable-verify, cl::Hidden, - cl::desc(Do not run verifier on input LLVM (dangerous!))); - int main(int argc, char **argv) { cl::ParseCommandLineOptions(argc, argv, llvm .ll - .cpp assembler\n); sys::PrintStackTraceOnErrorSignal(); int exitCode = 0; std::ostream *Out = 0; - try { -// Parse the file now... -std::auto_ptrModule M(ParseAssemblyFile(InputFilename)); -if (M.get() == 0) { - std::cerr argv[0] : assembly didn't read correctly.\n; - return 1; -} + std::string ErrorMessage; + std::auto_ptrModule M(ParseBytecodeFile(InputFilename, ErrorMessage)); + if (M.get() == 0) { +std::cerr argv[0] : ; +if (ErrorMessage.size()) + std::cerr ErrorMessage \n; +else + std::cerr bytecode didn't read correctly.\n; +return 1; + } -// FIXME: llvm2cpp should read .bc files and thus not run the verifier -// explicitly! -if (!DisableVerify) { - std::string Err; - if (verifyModule(*M.get(), ReturnStatusAction, Err)) { -std::cerr argv[0] - : assembly parsed, but does not verify as correct!\n; -std::cerr Err; + if (OutputFilename != ) { // Specified an output filename? +if (OutputFilename != -) { // Not stdout? + if (!Force std::ifstream(OutputFilename.c_str())) { +// If force is not specified, make sure not to overwrite a file! +std::cerr argv[0] : error opening ' OutputFilename + ': file exists!\n + Use -f command line argument to force output\n; return 1; - } -} - -if (OutputFilename != ) { // Specified an output filename? - if (OutputFilename != -) { // Not stdout? -if (!Force std::ifstream(OutputFilename.c_str())) { - // If force is not specified, make sure not to overwrite a file! - std::cerr argv[0] : error opening ' OutputFilename - ': file exists!\n - Use -f command line argument to force output\n; - return 1; -} -Out = new std::ofstream(OutputFilename.c_str(), std::ios::out | -std::ios::trunc | std::ios::binary); - } else { // Specified stdout -// FIXME: cout is not binary! -Out = std::cout; } + Out = new std::ofstream(OutputFilename.c_str(), std::ios::out | + std::ios::trunc | std::ios::binary); +} else { // Specified stdout + Out = std::cout; +} + } else { +if (InputFilename == -) { + OutputFilename = -; + Out = std::cout; } else { - if (InputFilename == -) { -OutputFilename = -; -Out = std::cout; +
[llvm-commits] CVS: llvm/include/llvm/ModuleProvider.h
Changes in directory llvm/include/llvm: ModuleProvider.h updated: 1.12 - 1.13 --- Log message: Fix an embarassing bug reid noticed --- Diffs of the changes: (+1 -1) ModuleProvider.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ModuleProvider.h diff -u llvm/include/llvm/ModuleProvider.h:1.12 llvm/include/llvm/ModuleProvider.h:1.13 --- llvm/include/llvm/ModuleProvider.h:1.12 Thu Jul 6 16:35:01 2006 +++ llvm/include/llvm/ModuleProvider.h Thu Jul 6 19:01:01 2006 @@ -53,7 +53,7 @@ /// virtual Module* releaseModule(std::string *ErrInfo = 0) { // Since we're losing control of this Module, we must hand it back complete -if (materializeModule(ErrInfo)) +if (!materializeModule(ErrInfo)) return 0; Module *tempM = TheModule; TheModule = 0; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/projects/Stacker/tools/stkrc/Makefile
Changes in directory llvm/projects/Stacker/tools/stkrc: Makefile updated: 1.11 - 1.12 --- Log message: Stacker uses EH. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/projects/Stacker/tools/stkrc/Makefile diff -u llvm/projects/Stacker/tools/stkrc/Makefile:1.11 llvm/projects/Stacker/tools/stkrc/Makefile:1.12 --- llvm/projects/Stacker/tools/stkrc/Makefile:1.11 Wed May 31 20:30:26 2006 +++ llvm/projects/Stacker/tools/stkrc/Makefile Thu Jul 6 19:20:39 2006 @@ -15,6 +15,7 @@ CONFIG_FILES = st EXTRA_DIST = st USEDLIBS=stkr_compiler +REQUIRES_EH := 1 ifdef PARSE_DEBUG ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/utils/TableGen/Makefile
Changes in directory llvm/utils/TableGen: Makefile updated: 1.18 - 1.19 --- Log message: tblgen uses EH --- Diffs of the changes: (+2 -0) Makefile |2 ++ 1 files changed, 2 insertions(+) Index: llvm/utils/TableGen/Makefile diff -u llvm/utils/TableGen/Makefile:1.18 llvm/utils/TableGen/Makefile:1.19 --- llvm/utils/TableGen/Makefile:1.18 Thu Jun 1 13:20:23 2006 +++ llvm/utils/TableGen/MakefileThu Jul 6 19:21:17 2006 @@ -6,11 +6,13 @@ # the University of Illinois Open Source License. See LICENSE.TXT for details. # ##===--===## + LEVEL = ../.. TOOLNAME = tblgen USEDLIBS = LLVMSupport.a LLVMSystem.a EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \ FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-ranlib/Makefile
Changes in directory llvm/tools/llvm-ranlib: Makefile updated: 1.4 - 1.5 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-ranlib/Makefile diff -u llvm/tools/llvm-ranlib/Makefile:1.4 llvm/tools/llvm-ranlib/Makefile:1.5 --- llvm/tools/llvm-ranlib/Makefile:1.4 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-ranlib/Makefile Thu Jul 6 19:46:19 2006 @@ -11,5 +11,6 @@ TOOLNAME = llvm-ranlib USEDLIBS = LLVMArchive.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-extract/Makefile
Changes in directory llvm/tools/llvm-extract: Makefile updated: 1.4 - 1.5 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-extract/Makefile diff -u llvm/tools/llvm-extract/Makefile:1.4 llvm/tools/llvm-extract/Makefile:1.5 --- llvm/tools/llvm-extract/Makefile:1.4Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-extract/MakefileThu Jul 6 19:46:18 2006 @@ -12,5 +12,6 @@ USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMTransforms.a LLVMipo.a \ LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-config/Makefile
Changes in directory llvm/tools/llvm-config: Makefile updated: 1.10 - 1.11 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-config/Makefile diff -u llvm/tools/llvm-config/Makefile:1.10 llvm/tools/llvm-config/Makefile:1.11 --- llvm/tools/llvm-config/Makefile:1.10Tue Jun 6 12:43:03 2006 +++ llvm/tools/llvm-config/Makefile Thu Jul 6 19:46:18 2006 @@ -10,6 +10,7 @@ LEVEL = ../.. EXTRA_DIST = LibDeps.txt FinalLibDeps.txt llvm-config.in.in find-cycles.pl +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-nm/Makefile
Changes in directory llvm/tools/llvm-nm: Makefile updated: 1.7 - 1.8 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+2 -0) Makefile |2 ++ 1 files changed, 2 insertions(+) Index: llvm/tools/llvm-nm/Makefile diff -u llvm/tools/llvm-nm/Makefile:1.7 llvm/tools/llvm-nm/Makefile:1.8 --- llvm/tools/llvm-nm/Makefile:1.7 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-nm/Makefile Thu Jul 6 19:46:18 2006 @@ -11,4 +11,6 @@ TOOLNAME = llvm-nm USEDLIBS = LLVMArchive.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-db/Makefile
Changes in directory llvm/tools/llvm-db: Makefile updated: 1.10 - 1.11 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-db/Makefile diff -u llvm/tools/llvm-db/Makefile:1.10 llvm/tools/llvm-db/Makefile:1.11 --- llvm/tools/llvm-db/Makefile:1.10Wed May 31 20:30:26 2006 +++ llvm/tools/llvm-db/Makefile Thu Jul 6 19:46:18 2006 @@ -11,5 +11,6 @@ TOOLNAME = llvm-db USEDLIBS = LLVMDebugger LLVMBCReader.a LLVMCore.a LLVMSupport.a \ LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-link/Makefile
Changes in directory llvm/tools/llvm-link: Makefile updated: 1.13 - 1.14 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-link/Makefile diff -u llvm/tools/llvm-link/Makefile:1.13 llvm/tools/llvm-link/Makefile:1.14 --- llvm/tools/llvm-link/Makefile:1.13 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-link/Makefile Thu Jul 6 19:46:18 2006 @@ -11,5 +11,6 @@ TOOLNAME = llvm-link USEDLIBS = LLVMLinker.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-dis/Makefile
Changes in directory llvm/tools/llvm-dis: Makefile updated: 1.18 - 1.19 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+2 -0) Makefile |2 ++ 1 files changed, 2 insertions(+) Index: llvm/tools/llvm-dis/Makefile diff -u llvm/tools/llvm-dis/Makefile:1.18 llvm/tools/llvm-dis/Makefile:1.19 --- llvm/tools/llvm-dis/Makefile:1.18 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-dis/MakefileThu Jul 6 19:46:18 2006 @@ -10,4 +10,6 @@ TOOLNAME = llvm-dis USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-ld/Makefile
Changes in directory llvm/tools/llvm-ld: Makefile updated: 1.8 - 1.9 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-ld/Makefile diff -u llvm/tools/llvm-ld/Makefile:1.8 llvm/tools/llvm-ld/Makefile:1.9 --- llvm/tools/llvm-ld/Makefile:1.8 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-ld/Makefile Thu Jul 6 19:46:18 2006 @@ -14,5 +14,6 @@ LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm2cpp/Makefile
Changes in directory llvm/tools/llvm2cpp: Makefile updated: 1.6 - 1.7 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm2cpp/Makefile diff -u llvm/tools/llvm2cpp/Makefile:1.6 llvm/tools/llvm2cpp/Makefile:1.7 --- llvm/tools/llvm2cpp/Makefile:1.6Thu Jul 6 18:48:57 2006 +++ llvm/tools/llvm2cpp/MakefileThu Jul 6 19:46:19 2006 @@ -9,6 +9,7 @@ LEVEL = ../.. TOOLNAME = llvm2cpp USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-bcanalyzer/Makefile
Changes in directory llvm/tools/llvm-bcanalyzer: Makefile updated: 1.5 - 1.6 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+2 -0) Makefile |2 ++ 1 files changed, 2 insertions(+) Index: llvm/tools/llvm-bcanalyzer/Makefile diff -u llvm/tools/llvm-bcanalyzer/Makefile:1.5 llvm/tools/llvm-bcanalyzer/Makefile:1.6 --- llvm/tools/llvm-bcanalyzer/Makefile:1.5 Wed May 31 20:30:26 2006 +++ llvm/tools/llvm-bcanalyzer/Makefile Thu Jul 6 19:46:18 2006 @@ -10,4 +10,6 @@ TOOLNAME = llvm-bcanalyzer USEDLIBS = LLVMBCReader.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 + include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/lli/Makefile
Changes in directory llvm/tools/lli: Makefile updated: 1.48 - 1.49 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/lli/Makefile diff -u llvm/tools/lli/Makefile:1.48 llvm/tools/lli/Makefile:1.49 --- llvm/tools/lli/Makefile:1.48Mon Nov 29 01:17:19 2004 +++ llvm/tools/lli/Makefile Thu Jul 6 19:46:18 2006 @@ -9,6 +9,7 @@ LEVEL:= ../.. TOOLNAME := lli LLVMLIBS := JIT +REQUIRES_EH := 1 # Enable JIT support include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-as/Makefile
Changes in directory llvm/tools/llvm-as: Makefile updated: 1.17 - 1.18 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-as/Makefile diff -u llvm/tools/llvm-as/Makefile:1.17 llvm/tools/llvm-as/Makefile:1.18 --- llvm/tools/llvm-as/Makefile:1.17Wed May 31 20:30:26 2006 +++ llvm/tools/llvm-as/Makefile Thu Jul 6 19:46:18 2006 @@ -10,5 +10,6 @@ TOOLNAME = llvm-as USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMCore.a \ LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvmc/Makefile
Changes in directory llvm/tools/llvmc: Makefile updated: 1.19 - 1.20 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvmc/Makefile diff -u llvm/tools/llvmc/Makefile:1.19 llvm/tools/llvmc/Makefile:1.20 --- llvm/tools/llvmc/Makefile:1.19 Wed Jun 21 12:26:13 2006 +++ llvm/tools/llvmc/Makefile Thu Jul 6 19:46:19 2006 @@ -11,6 +11,7 @@ USEDLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a CONFIG_FILES = c cpp ll EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs +REQUIRES_EH := 1 # The CompilerDriver needs to know the locations of several configured # directories and paths. We define these as preprocessor symbols so they can ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/analyze/Makefile
Changes in directory llvm/tools/analyze: Makefile updated: 1.31 - 1.32 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/analyze/Makefile diff -u llvm/tools/analyze/Makefile:1.31 llvm/tools/analyze/Makefile:1.32 --- llvm/tools/analyze/Makefile:1.31Wed May 31 20:30:26 2006 +++ llvm/tools/analyze/Makefile Thu Jul 6 19:46:18 2006 @@ -12,5 +12,6 @@ LLVMDataStructure \ LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \ LLVMTransformUtils.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-prof/Makefile
Changes in directory llvm/tools/llvm-prof: Makefile updated: 1.7 - 1.8 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-prof/Makefile diff -u llvm/tools/llvm-prof/Makefile:1.7 llvm/tools/llvm-prof/Makefile:1.8 --- llvm/tools/llvm-prof/Makefile:1.7 Wed May 31 20:30:27 2006 +++ llvm/tools/llvm-prof/Makefile Thu Jul 6 19:46:18 2006 @@ -11,5 +11,6 @@ TOOLNAME = llvm-prof USEDLIBS = LLVMAnalysis.a LLVMBCReader.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccld/Makefile
Changes in directory llvm/tools/gccld: Makefile updated: 1.15 - 1.16 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/gccld/Makefile diff -u llvm/tools/gccld/Makefile:1.15 llvm/tools/gccld/Makefile:1.16 --- llvm/tools/gccld/Makefile:1.15 Wed May 31 20:30:26 2006 +++ llvm/tools/gccld/Makefile Thu Jul 6 19:46:18 2006 @@ -14,5 +14,6 @@ LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/opt/Makefile
Changes in directory llvm/tools/opt: Makefile updated: 1.55 - 1.56 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/opt/Makefile diff -u llvm/tools/opt/Makefile:1.55 llvm/tools/opt/Makefile:1.56 --- llvm/tools/opt/Makefile:1.55Wed May 31 20:30:27 2006 +++ llvm/tools/opt/Makefile Thu Jul 6 19:46:19 2006 @@ -8,6 +8,7 @@ ##===--===## LEVEL = ../.. TOOLNAME = opt +REQUIRES_EH := 1 USEDLIBS = LLVMBCReader.a LLVMBCWriter.a LLVMInstrumentation.a \ LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llc/Makefile
Changes in directory llvm/tools/llc: Makefile updated: 1.83 - 1.84 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llc/Makefile diff -u llvm/tools/llc/Makefile:1.83 llvm/tools/llc/Makefile:1.84 --- llvm/tools/llc/Makefile:1.83Wed May 31 20:42:33 2006 +++ llvm/tools/llc/Makefile Thu Jul 6 19:46:18 2006 @@ -9,6 +9,7 @@ LEVEL = ../.. TOOLNAME = llc +REQUIRES_EH := 1 # Include this here so we can get the configuration of the targets # that have been configured for construction. We have to do this ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/Makefile
Changes in directory llvm/lib/System: Makefile updated: 1.11 - 1.12 --- Log message: This uses EH extensively --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/System/Makefile diff -u llvm/lib/System/Makefile:1.11 llvm/lib/System/Makefile:1.12 --- llvm/lib/System/Makefile:1.11 Wed May 31 20:55:21 2006 +++ llvm/lib/System/MakefileThu Jul 6 19:47:29 2006 @@ -10,6 +10,7 @@ LEVEL = ../.. LIBRARYNAME = LLVMSystem BUILD_ARCHIVE = 1 +REQUIRES_EH := 1 EXTRA_DIST = Unix Win32 README.txt ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/Makefile
Changes in directory llvm/tools/bugpoint: Makefile updated: 1.17 - 1.18 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/bugpoint/Makefile diff -u llvm/tools/bugpoint/Makefile:1.17 llvm/tools/bugpoint/Makefile:1.18 --- llvm/tools/bugpoint/Makefile:1.17 Wed May 31 20:30:26 2006 +++ llvm/tools/bugpoint/MakefileThu Jul 6 19:46:18 2006 @@ -17,5 +17,6 @@ LLVMTransformUtils.a \ LLVMAsmParser.a LLVMLinker.a LLVMBCReader.a LLVMBCWriter.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccas/Makefile
Changes in directory llvm/tools/gccas: Makefile updated: 1.25 - 1.26 --- Log message: Tools require EH for their top-level try blocks. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/gccas/Makefile diff -u llvm/tools/gccas/Makefile:1.25 llvm/tools/gccas/Makefile:1.26 --- llvm/tools/gccas/Makefile:1.25 Wed May 31 20:30:26 2006 +++ llvm/tools/gccas/Makefile Thu Jul 6 19:46:18 2006 @@ -12,5 +12,6 @@ USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMTransforms.a LLVMipo.a LLVMipa.a \ LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils.a \ LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a +REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll
Changes in directory llvm/test/Regression/CodeGen/Alpha: 2006-07-03-ASMFormalLowering.ll updated: 1.1 - 1.2 --- Log message: Xfail this --- Diffs of the changes: (+2 -2) 2006-07-03-ASMFormalLowering.ll |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll diff -u llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll:1.1 llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll:1.2 --- llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll:1.1 Mon Jul 3 17:46:02 2006 +++ llvm/test/Regression/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll Thu Jul 6 23:43:24 2006 @@ -1,6 +1,6 @@ -;RUN: llvm-as %s | llc -march=alpha +; RUN: llvm-as %s | llc -march=alpha +; XFAIL: * -; ModuleID = 'atomicity.cc' target endian = little target pointersize = 64 target triple = alphaev67-unknown-linux-gnu ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits