- Aug 04, 2010
-
-
Owen Anderson authored
Experiments show that we can safely increase our unrolling threshold without unduly impacting code size, particularly since unrolling is not enabled at -Os. llvm-svn: 110233
-
Owen Anderson authored
llvm-svn: 110231
-
Ted Kremenek authored
Add CFGStmtMap, which defines a mapping from Stmt* to CFGBlock*. The immediate intended use is in the unreachable code analysis. llvm-svn: 110230
-
Sebastian Redl authored
llvm-svn: 110229
-
Dale Johannesen authored
seem to be working correctly. No functional change. llvm-svn: 110226
-
Devang Patel authored
llvm-svn: 110224
-
Dan Gohman authored
llvm-svn: 110223
-
Sebastian Redl authored
llvm-svn: 110219
-
Douglas Gregor authored
file buffers until the code completion results are destroyed; diagnostics may end up referring into the source. llvm-svn: 110216
-
Dan Gohman authored
and add comments about major implemented features. llvm-svn: 110215
-
Fariborz Jahanian authored
for objective-c/c++ blocks (NeXt runtime). llvm-svn: 110213
-
Dan Gohman authored
llvm-svn: 110211
-
Douglas Gregor authored
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
-
Dan Gohman authored
alone, rather than just an exit code. llvm-svn: 110208
-
Dan Gohman authored
llvm-svn: 110207
-
Dan Gohman authored
llvm-svn: 110206
-
Dan Gohman authored
llvm-svn: 110205
-
Dan Gohman authored
llvm-svn: 110204
-
Dan Gohman authored
llvm-svn: 110203
-
Dan Gohman authored
llvm-svn: 110202
-
Dan Gohman authored
llvm-svn: 110201
-
Benjamin Kramer authored
llvm-svn: 110200
-
Stuart Hastings authored
llvm-svn: 110199
-
Kalle Raiskila authored
store for "half vectors" llvm-svn: 110198
-
Benjamin Kramer authored
- 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
-
Torok Edwin authored
I encountered these while upgrading libclamav. llvm-svn: 110196
-
Torok Edwin authored
llvm-svn: 110195
-
Gabor Greif authored
"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
-
Torok Edwin authored
llvm-svn: 110193
-
John McCall authored
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
-
Jordy Rose authored
Change the checker callback cache in GRExprEngine to be more compact (and 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
-
Eric Christopher authored
llvm-svn: 110190
-
John McCall authored
haven't been explicitly instantiated. llvm-svn: 110189
-
John McCall authored
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
-
Douglas Gregor authored
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
-
Greg Clayton authored
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
-
Dan Gohman authored
llvm-svn: 110183
-
Dan Gohman authored
llvm-svn: 110181
-
Dan Gohman authored
llvm-svn: 110180
-
Dan Gohman authored
llvm-svn: 110179
-