| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
using wider types than are necessary.
llvm-svn: 110241
|
| |
|
|
|
|
| |
be triggered by valid, if dubious, IR.
llvm-svn: 110240
|
| |
|
|
| |
llvm-svn: 110239
|
| |
|
|
| |
llvm-svn: 110238
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
its location on stack.
llvm-svn: 110234
|
| |
|
|
|
|
|
|
| |
unduly impacting code size, particularly
since unrolling is not enabled at -Os.
llvm-svn: 110233
|
| |
|
|
| |
llvm-svn: 110231
|
| |
|
|
|
|
| |
immediate intended use is in the unreachable code analysis.
llvm-svn: 110230
|
| |
|
|
| |
llvm-svn: 110229
|
| |
|
|
|
|
| |
seem to be working correctly. No functional change.
llvm-svn: 110226
|
| |
|
|
| |
llvm-svn: 110224
|
| |
|
|
| |
llvm-svn: 110223
|
| |
|
|
| |
llvm-svn: 110219
|
| |
|
|
|
|
|
| |
file buffers until the code completion results are destroyed;
diagnostics may end up referring into the source.
llvm-svn: 110216
|
| |
|
|
|
|
| |
and add comments about major implemented features.
llvm-svn: 110215
|
| |
|
|
|
|
| |
for objective-c/c++ blocks (NeXt runtime).
llvm-svn: 110213
|
| |
|
|
| |
llvm-svn: 110211
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
alone, rather than just an exit code.
llvm-svn: 110208
|
| |
|
|
| |
llvm-svn: 110207
|
| |
|
|
| |
llvm-svn: 110206
|
| |
|
|
| |
llvm-svn: 110205
|
| |
|
|
| |
llvm-svn: 110204
|
| |
|
|
| |
llvm-svn: 110203
|
| |
|
|
| |
llvm-svn: 110202
|
| |
|
|
| |
llvm-svn: 110201
|
| |
|
|
| |
llvm-svn: 110200
|
| |
|
|
| |
llvm-svn: 110199
|
| |
|
|
|
|
| |
store for "half vectors"
llvm-svn: 110198
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
I encountered these while upgrading libclamav.
llvm-svn: 110196
|
| |
|
|
| |
llvm-svn: 110195
|
| |
|
|
|
|
|
|
|
|
|
|
| |
"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
|
| |
|
|
| |
llvm-svn: 110193
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 110190
|
| |
|
|
|
|
| |
haven't been explicitly instantiated.
llvm-svn: 110189
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 110183
|
| |
|
|
| |
llvm-svn: 110181
|
| |
|
|
| |
llvm-svn: 110180
|
| |
|
|
| |
llvm-svn: 110179
|
| |
|
|
| |
llvm-svn: 110178
|
| |
|
|
| |
llvm-svn: 110177
|
| |
|
|
|
|
| |
delete lookup until the end of the class definition.
llvm-svn: 110176
|
| |
|
|
|
|
| |
a declaration.
llvm-svn: 110175
|