Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Introduce new error handling API. | Torok Edwin | 2009-07-07 | 1 | -0/+53 | |
| | | | | | | | | This will replace exit()/abort() style error handling with an API that allows clients to register custom error handling hooks. The default is to call exit(1) when no error handler is provided. llvm-svn: 74922 | |||||
* | switch the .ll parser to use SourceMgr. | Chris Lattner | 2009-07-02 | 1 | -10/+21 | |
| | | | | llvm-svn: 74735 | |||||
* | add an explicit class for holding llvm::SourceMgr diagnostics and use | Chris Lattner | 2009-07-02 | 1 | -19/+52 | |
| | | | | | | | | | | | | | | | it to print them. This gives us column numbers in the diag line. Before: t.s:4: error: unexpected token in argument list mov %eax %edx ^ now: t.s:4:11: error: unexpected token in argument list mov %eax %edx ^ llvm-svn: 74732 | |||||
* | Tweak FindExecutable so that relative executable paths work as well. | Daniel Dunbar | 2009-07-01 | 1 | -2/+3 | |
| | | | | llvm-svn: 74645 | |||||
* | Fix FindExecutable to work if given an absolute executable path name. | Daniel Dunbar | 2009-07-01 | 1 | -5/+10 | |
| | | | | | | - Patch by Viktor Kutuzov, with tweaks by me. llvm-svn: 74608 | |||||
* | Reapply 74494, this time removing the conflicting definition of operator<< | Dan Gohman | 2009-06-30 | 1 | -0/+6 | |
| | | | | | | in APIntTest.cpp. llvm-svn: 74550 | |||||
* | Temporarily revert r74494. It was causing failures in the unit tests. | Bill Wendling | 2009-06-30 | 1 | -6/+0 | |
| | | | | llvm-svn: 74515 | |||||
* | Fix the build on Cygwin. Patch by Aaron Gray. | Owen Anderson | 2009-06-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 74510 | |||||
* | Define an operator<< for APInt to be used with std::ostream. | Dan Gohman | 2009-06-30 | 1 | -0/+6 | |
| | | | | | | | This will allow it to be used in unittests that use gtest's EXPECT_EQ. llvm-svn: 74494 | |||||
* | Normalize SourceMgr messages. | Daniel Dunbar | 2009-06-30 | 1 | -3/+7 | |
| | | | | | | | | | | | | - Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489 | |||||
* | Add triple for OpenBSD. | Duncan Sands | 2009-06-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 74422 | |||||
* | Use atomic operations for accessing this global counter. | Owen Anderson | 2009-06-26 | 1 | -3/+6 | |
| | | | | llvm-svn: 74294 | |||||
* | Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby | Douglas Gregor | 2009-06-26 | 1 | -0/+2 | |
| | | | | llvm-svn: 74285 | |||||
* | Support thread-local pretty stack traces. | Owen Anderson | 2009-06-25 | 1 | -7/+8 | |
| | | | | llvm-svn: 74227 | |||||
* | Use atomic operations when accessing statistics, and make the lazy ↵ | Owen Anderson | 2009-06-23 | 1 | -4/+8 | |
| | | | | | | initialization of statistics actually threadsafe. llvm-svn: 74005 | |||||
* | Make timers threadsafe again. This isn't quite as nice as I'd hoped (it ↵ | Owen Anderson | 2009-06-23 | 1 | -1/+53 | |
| | | | | | | | | | | uses locking rather than atomic arithmetic), but should work on all the platforms we care about. I might revisit this if a totally awesome way to do it occurs to me. llvm-svn: 74002 | |||||
* | Revert my last series of commits related to Timer and 64-bit atomics. Not ↵ | Owen Anderson | 2009-06-23 | 1 | -19/+19 | |
| | | | | | | | | all the targets we care about are capable of supporting it. llvm-svn: 73993 | |||||
* | Switched size_t to int64_t to prevent type mismatch in call to max. | Lang Hames | 2009-06-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 73988 | |||||
* | Actually, these need to be signed integers, not unsigned. | Owen Anderson | 2009-06-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 73978 | |||||
* | Use 64-bit integer counters for tracking time, rather than doubles. This ↵ | Owen Anderson | 2009-06-23 | 1 | -17/+17 | |
| | | | | | | will be more atomic op friendly. llvm-svn: 73974 | |||||
* | Make the lazy initialization of DefaultTimerGroup threadsafe. | Owen Anderson | 2009-06-23 | 1 | -8/+14 | |
| | | | | llvm-svn: 73963 | |||||
* | Revert r73923, which broke clang. | Owen Anderson | 2009-06-23 | 1 | -18/+10 | |
| | | | | llvm-svn: 73957 | |||||
* | Guard the plugin loader. | Owen Anderson | 2009-06-23 | 1 | -0/+5 | |
| | | | | llvm-svn: 73925 | |||||
* | Add guards around timer groups, which can be shared. | Owen Anderson | 2009-06-22 | 1 | -10/+18 | |
| | | | | llvm-svn: 73923 | |||||
* | Guard the statistics table. | Owen Anderson | 2009-06-22 | 1 | -1/+3 | |
| | | | | llvm-svn: 73916 | |||||
* | Guard the global annotation tables. | Owen Anderson | 2009-06-22 | 1 | -13/+25 | |
| | | | | llvm-svn: 73913 | |||||
* | rename SourceMgr::PrintError to PrintMessage. | Chris Lattner | 2009-06-21 | 1 | -6/+6 | |
| | | | | llvm-svn: 73861 | |||||
* | move include searching logic from TGLexer to SourceMgr. | Chris Lattner | 2009-06-21 | 1 | -0/+20 | |
| | | | | llvm-svn: 73845 | |||||
* | Rename TGSourceMgr -> SourceMgr. | Chris Lattner | 2009-06-21 | 2 | -5/+6 | |
| | | | | llvm-svn: 73844 | |||||
* | rename TGLoc -> SMLoc. | Chris Lattner | 2009-06-21 | 1 | -6/+6 | |
| | | | | llvm-svn: 73843 | |||||
* | move TGSourceMgr class out of TableGen into libsupport. | Chris Lattner | 2009-06-21 | 1 | -0/+107 | |
| | | | | llvm-svn: 73842 | |||||
* | Add support for AuroraUX. Patch by evocallaghan. | Duncan Sands | 2009-06-19 | 1 | -1/+4 | |
| | | | | llvm-svn: 73766 | |||||
* | Update CMake files to account for new location of Threading.cpp. | Ted Kremenek | 2009-06-18 | 1 | -1/+0 | |
| | | | | llvm-svn: 73708 | |||||
* | Move Threading.[h|cpp] from Support to System. | Owen Anderson | 2009-06-18 | 1 | -63/+0 | |
| | | | | llvm-svn: 73707 | |||||
* | Add newline at end of file. | Owen Anderson | 2009-06-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 73551 | |||||
* | Add Threading.cpp to the CMake project files | Douglas Gregor | 2009-06-16 | 1 | -0/+1 | |
| | | | | llvm-svn: 73516 | |||||
* | Split the thread-related APIs out into their own file, and add a few more | Owen Anderson | 2009-06-16 | 2 | -20/+67 | |
| | | | | | | calls for convenience. llvm-svn: 73512 | |||||
* | Add support for outputting ANSI colors to raw_fd_ostream. | Torok Edwin | 2009-06-04 | 1 | -0/+30 | |
| | | | | llvm-svn: 72854 | |||||
* | Add support for letting the client choose different flavors of NaNs. ↵ | Mike Stump | 2009-05-30 | 1 | -6/+12 | |
| | | | | | | | | Testcase to be added in clang. llvm-svn: 72606 | |||||
* | Untabification. | Bill Wendling | 2009-05-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 72604 | |||||
* | Minor fix for CMake build system | Douglas Gregor | 2009-05-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 72480 | |||||
* | Add llvm::triple constructor from arch, vendor, os strings, and recognize | Daniel Dunbar | 2009-05-22 | 1 | -0/+3 | |
| | | | | | | DragonFly OS type. llvm-svn: 72242 | |||||
* | 80 column violation. | Evan Cheng | 2009-05-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 72235 | |||||
* | Have llvm_start_multithreaded return a bool indicating whether multithreaded | Owen Anderson | 2009-05-20 | 1 | -2/+3 | |
| | | | | | | initialization succeeded or not, rather than just asserting. llvm-svn: 72182 | |||||
* | Add llvm_start_multithreaded(), which starts up the LLVM internals in ↵ | Owen Anderson | 2009-05-20 | 1 | -8/+45 | |
| | | | | | | | | thread-safe mode. Provide double-check locking initialization of ManagedStatic's when running in thread-safe mode. llvm-svn: 72151 | |||||
* | Tweak MemoryBuffer::getSTDIN so that it returns after the first EOF. | Eli Friedman | 2009-05-18 | 1 | -3/+6 | |
| | | | | | | | It doesn't matter for piped input, but it's annoying when typing at the console. llvm-svn: 71998 | |||||
* | Add dumping support for DW_AT_APPLE_isa and DW_AT_APPLE_block. | Mike Stump | 2009-05-14 | 1 | -0/+2 | |
| | | | | | | Radar 6867696 llvm-svn: 71750 | |||||
* | Fix whitespacing (space after switch). | Mike Stump | 2009-05-13 | 3 | -33/+32 | |
| | | | | llvm-svn: 71738 | |||||
* | Move helper functions for optimizing division by constant into the APInt | Jay Foad | 2009-04-30 | 1 | -0/+92 | |
| | | | | | | class. llvm-svn: 70488 | |||||
* | Add support for a character after a command line option. Like '-Os'. | Bill Wendling | 2009-04-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 70437 |