summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a minor bug which resulted in intermediate calculationsDan Gohman2010-08-041-1/+1
| | | | | | using wider types than are necessary. llvm-svn: 110241
* Change this llvm_unreachable to report_fatal_error, since it canDan Gohman2010-08-041-4/+11
| | | | | | be triggered by valid, if dubious, IR. llvm-svn: 110240
* More objc block variable layout info. work.Fariborz Jahanian2010-08-043-9/+26
| | | | llvm-svn: 110239
* Test case for combination of r110234 & r110235.Devang Patel2010-08-041-0/+124
| | | | llvm-svn: 110238
* While spilling live registers at the end of block check whether they are ↵Devang Patel2010-08-041-1/+24
| | | | | | used by DBG_VALUE machine instructions or not. If a spilled register is used by DBG_VALUE machine instruction then insert a new DBG_VALUE machine instruction to encode variable's new location on stack. llvm-svn: 110235
* If a variable is spilled by code generator then use DW_OP_fbreg to describe ↵Devang Patel2010-08-041-10/+35
| | | | | | its location on stack. llvm-svn: 110234
* Experiments show that we can safely increase our unrolling threshold without ↵Owen Anderson2010-08-041-1/+1
| | | | | | | | unduly impacting code size, particularly since unrolling is not enabled at -Os. llvm-svn: 110233
* Add a note about the changing pass registration interface.Owen Anderson2010-08-041-0/+5
| | | | llvm-svn: 110231
* Add CFGStmtMap, which defines a mapping from Stmt* to CFGBlock*. The ↵Ted Kremenek2010-08-043-0/+141
| | | | | | immediate intended use is in the unreachable code analysis. llvm-svn: 110230
* When chaining, only write interesting selectors to the PCH.Sebastian Redl2010-08-044-13/+63
| | | | llvm-svn: 110229
* Remove switch for disabling ARM tail calls. TheyDale Johannesen2010-08-041-9/+0
| | | | | | seem to be working correctly. No functional change. llvm-svn: 110226
* Add DEBUG message.Devang Patel2010-08-041-0/+4
| | | | llvm-svn: 110224
* Fix whitespace.Dan Gohman2010-08-041-1/+1
| | | | llvm-svn: 110223
* Store the IDs of selectors in the PCH file explicitly.Sebastian Redl2010-08-044-38/+67
| | | | llvm-svn: 110219
* When performing in-process code completion, don't free the remappedDouglas Gregor2010-08-042-10/+13
| | | | | | | file buffers until the code completion results are destroyed; diagnostics may end up referring into the source. llvm-svn: 110216
* Update the polygen grammar for linker_private and linker_private_weak,Dan Gohman2010-08-041-0/+5
| | | | | | and add comments about major implemented features. llvm-svn: 110215
* Some early work for providing block layout info. Fariborz Jahanian2010-08-045-40/+57
| | | | | | for objective-c/c++ blocks (NeXt runtime). llvm-svn: 110213
* Fix a typo in a comment.Dan Gohman2010-08-041-1/+1
| | | | llvm-svn: 110211
* Add code-completion support directly to ASTUnit, which performs codeDouglas Gregor2010-08-0413-101/+470
| | | | | | | | | | | | | | completion within the translation unit using the same command-line arguments for parsing the translation unit. Eventually, we'll reuse the precompiled preamble to improve code-completion performance, and this also gives us a place to cache results. Expose this function via the new libclang function clang_codeCompleteAt(), which performs the code completion within a CXTranslationUnit. The completion occurs in-process (clang_codeCompletion() runs code completion out-of-process). llvm-svn: 110210
* Print a message when a test failure is due to stderr outputDan Gohman2010-08-041-6/+17
| | | | | | alone, rather than just an exit code. llvm-svn: 110208
* Remove CVS artifacts.Dan Gohman2010-08-042-8/+6
| | | | llvm-svn: 110207
* Remove CVS artifacts.Dan Gohman2010-08-041-3/+0
| | | | llvm-svn: 110206
* Delete scripts which haven't noticed that CVS has gone away.Dan Gohman2010-08-043-403/+1
| | | | llvm-svn: 110205
* cvsupdate is gone.Dan Gohman2010-08-042-2/+1
| | | | llvm-svn: 110204
* Delete mkpatch. Everything it does is already done by svn diff by default.Dan Gohman2010-08-042-48/+6
| | | | llvm-svn: 110203
* Remove a link which is no longer relevant.Dan Gohman2010-08-041-2/+0
| | | | llvm-svn: 110202
* These tests are no longer stored in *CVS*.Dan Gohman2010-08-041-1/+1
| | | | llvm-svn: 110201
* Enable COFF writer on mingw32 and cygwin.Benjamin Kramer2010-08-041-0/+2
| | | | llvm-svn: 110200
* call-imm.ll test case regex fix. Patch by Dimitry Andric!Stuart Hastings2010-08-041-1/+1
| | | | llvm-svn: 110199
* Make SPU backend handle insertelement and Kalle Raiskila2010-08-045-2/+37
| | | | | | store for "half vectors" llvm-svn: 110198
* Print an error message when someone tries -integrated-as on an unsupported ↵Benjamin Kramer2010-08-041-1/+7
| | | | | | | | | | target. - The COFF backend doesn't support MingW/Cygwin at the moment, it'll report an error, but it's still much better than random assertions from the MachO backend. - We want to make ELF the default eventually, it's what the majority of targets use. llvm-svn: 110197
* Note some LLVM 2.7 -> 2.8 APIs that changed / got renamed.Torok Edwin2010-08-041-1/+28
| | | | | | I encountered these while upgrading libclamav. llvm-svn: 110196
* Add a missing function.Torok Edwin2010-08-042-0/+50
| | | | llvm-svn: 110195
* by Alexander Herz:Gabor Greif2010-08-041-0/+7
| | | | | | | | | | | | "The CWriter::GetValueName() method does not check if a value as an alias and emits the alias name which will never be defined in the output .c file (so the output file fails to compile). This can happen if you have multiple inheritance with several destructors defined by clang (...D0Ev, ...D1Ev, ...D2Ev)." -- applied with minor tweaks. Thanks! llvm-svn: 110194
* Fix build of DataFlow.hTorok Edwin2010-08-041-1/+1
| | | | llvm-svn: 110193
* Emit standard-library RTTI with external linkage, not weak_odr.John McCall2010-08-049-118/+180
| | | | | | | | | | Apply hidden visibility to most RTTI; libstdc++ does not rely on exact pointer equality for the type info (just the type info names). Apply the same optimization to RTTI that we do to vtables. Fixes PR5962. llvm-svn: 110192
* Change the checker callback cache in GRExprEngine to be more compact (and ↵Jordy Rose2010-08-044-32/+89
| | | | | | | | IMHO a little easier to understand), and add the same sort of caching for EvalAssume (tied for least-used callback), mostly as proof-of-concept. Before we go further with these, we should figure out a way to reuse the visit-and-cache code in CheckerVisit. llvm-svn: 110191
* Accept and ignore (for now) -funroll-loops.Eric Christopher2010-08-041-0/+1
| | | | llvm-svn: 110190
* Extend the hidden-visibility vtables optimization to template classes thatJohn McCall2010-08-044-18/+42
| | | | | | haven't been explicitly instantiated. llvm-svn: 110189
* Some more correctness fixes and code-size optimizations for fragile-ABIJohn McCall2010-08-043-110/+127
| | | | | | | | | | | ObjC exceptions: - don't enter a try for the catch blocks unless there's a finally - put the setjmp buffer in the locals set for liveness reasons - dump the sync object into an alloca in the locals set for liveness reasons Some of this can go away if the backend starts to properly calculate liveness in the presence of setjmp (which would also be a *much* stabler solution). llvm-svn: 110188
* When we try (but fail) to build a precompiled preamble, wait for aDouglas Gregor2010-08-042-8/+42
| | | | | | | | | short "cooling off" period (defaulting to 5 reparses) before trying to build a precompiled preamble again. Previously, if we failed to build the precompiled preamble at any time, we just gave up the whole charade any never tried again. llvm-svn: 110187
* Abtracted the old "lldb_private::Thread::StopInfo" into an abtract class.Greg Clayton2010-08-0429-1050/+1288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow debugger plug-ins to make any instance of "lldb_private::StopInfo" that can completely describe any stop reason. It also provides a framework for doing intelligent things with the stop info at important times in the lifetime of the inferior. Examples include the signal stop info in StopInfoUnixSignal. It will check with the process to see that the current action is for the signal. These actions include wether to stop for the signal, wether the notify that the signal was hit, and wether to pass the signal along to the inferior process. The StopInfoUnixSignal class overrides the "ShouldStop()" method of StopInfo and this allows the stop info to determine if it should stop at the signal or continue the process. StopInfo subclasses must override the following functions: virtual lldb::StopReason GetStopReason () const = 0; virtual const char * GetDescription () = 0; StopInfo subclasses can override the following functions: // If the subclass returns "false", the inferior will resume. The default // version of this function returns "true" which means the default stop // info will stop the process. The breakpoint subclass will check if // the breakpoint wants us to stop by calling any installed callback on // the breakpoint, and also checking if the breakpoint is for the current // thread. Signals will check if they should stop based off of the // UnixSignal settings in the process. virtual bool ShouldStop (Event *event_ptr); // Sublasses can state if they want to notify the debugger when "ShouldStop" // returns false. This would be handy for breakpoints where you want to // log information and continue and is also used by the signal stop info // to notify that a signal was received (after it checks with the process // signal settings). virtual bool ShouldNotify (Event *event_ptr) { return false; } // Allow subclasses to do something intelligent right before we resume. // The signal class will figure out if the signal should be propagated // to the inferior process and pass that along to the debugger plug-ins. virtual void WillResume (lldb::StateType resume_state) { // By default, don't do anything } The support the Mach exceptions was moved into the lldb/source/Plugins/Process/Utility folder and now doesn't polute the lldb_private::Thread class with platform specific code. llvm-svn: 110184
* Eliminate unnecessary empty string literals.Dan Gohman2010-08-043-4/+4
| | | | llvm-svn: 110183
* Fix a comment.Dan Gohman2010-08-041-1/+1
| | | | llvm-svn: 110181
* Don't construct a std::string with a literal "".Dan Gohman2010-08-041-2/+2
| | | | llvm-svn: 110180
* Don't print the filename twice in file-not-found errors.Dan Gohman2010-08-042-6/+3
| | | | llvm-svn: 110179
* Add more AVX 256-bit intrinsics and test cases for themBruno Cardoso Lopes2010-08-042-0/+61
| | | | llvm-svn: 110178
* Fix a comment typo and add more 256-bit intrinsicsBruno Cardoso Lopes2010-08-041-1/+90
| | | | llvm-svn: 110177
* Add a test case for P%7346, which was fixed by not doing the operatorJohn McCall2010-08-041-0/+13
| | | | | | delete lookup until the end of the class definition. llvm-svn: 110176
* Only look up an 'operator delete' on the definition of a destructor, not onJohn McCall2010-08-044-11/+34
| | | | | | a declaration. llvm-svn: 110175
OpenPOWER on IntegriCloud