| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
e.g. for:
template <int i> class A {
class B *g;
};
'class B' has the template as lexical context but semantically it is
introduced in namespace scope.
Fixes rdar://8611125 & http://llvm.org/PR8505
llvm-svn: 118235
|
| |
|
|
|
|
| |
pointer constant.
llvm-svn: 118234
|
| |
|
|
|
|
|
|
| |
Right now the code is partitioned but the behavior is the same.
This should be improved in the near future. This removes some
uses of TheOperandList.
llvm-svn: 118232
|
| |
|
|
| |
llvm-svn: 118231
|
| |
|
|
|
|
| |
it doesn't do any lexical stuff anymore.
llvm-svn: 118230
|
| |
|
|
| |
llvm-svn: 118229
|
| |
|
|
| |
llvm-svn: 118228
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
adding support into lldb_private::Process:
virtual uint32_t
lldb_private::Process::LoadImage (const FileSpec &image_spec,
Error &error);
virtual Error
lldb_private::Process::UnloadImage (uint32_t image_token);
There is a default implementation that should work for both linux and MacOSX.
This ability has also been exported through the SBProcess API:
uint32_t
lldb::SBProcess::LoadImage (lldb::SBFileSpec &image_spec,
lldb::SBError &error);
lldb::SBError
lldb::SBProcess::UnloadImage (uint32_t image_token);
Modified the DynamicLoader plug-in interface to require it to be able to
tell us if it is currently possible to load/unload a shared library:
virtual lldb_private::Error
DynamicLoader::CanLoadImage () = 0;
This way the dynamic loader plug-ins are allows to veto whether we can
currently load a shared library since the dynamic loader might know if it is
currenlty loading/unloading shared libraries. It might also know about the
current host system and know where to check to make sure runtime or malloc
locks are currently being held.
Modified the expression parser to have ClangUserExpression::Evaluate() be
the one that causes the dynamic checkers to be loaded instead of other code
that shouldn't have to worry about it.
llvm-svn: 118227
|
| |
|
|
|
|
|
| |
implementation of the Objective-C object checkers
into the Objective-C language runtime.
llvm-svn: 118226
|
| |
|
|
|
|
| |
on the incoming operand list. This also makes the code simpler.
llvm-svn: 118225
|
| |
|
|
|
|
| |
with system specific stuff.
llvm-svn: 118224
|
| |
|
|
|
|
| |
preferably). Good thing c-index-test is written in C!!!!
llvm-svn: 118223
|
| |
|
|
|
|
|
| |
- Primarily useful for running some code with a specified stack size, when
pthreads are available.
llvm-svn: 118222
|
| |
|
|
|
|
|
| |
tweaking when we start using it for object file emission or JIT, but it's a
start.
llvm-svn: 118221
|
| |
|
|
| |
llvm-svn: 118220
|
| |
|
|
| |
llvm-svn: 118219
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
RegisterContextLLDB holds a reference to the SymbolContext
in the vector of Cursors that UnwindLLDB maintains. Switch
UnwindLLDB to hold a vector of shared pointers of Cursors
so this reference doesn't become invalid.
Correctly falling back from the "fast" UnwindPlan to the
"full" UnwindPlan when additional registers need to be
retrieved.
llvm-svn: 118218
|
| |
|
|
|
|
|
|
| |
now matchables contain an explicit list of how to populate each
operand in the result instruction instead of having them somehow
magically be correlated to the input inst.
llvm-svn: 118217
|
| |
|
|
|
|
|
|
| |
This way, InlineSpiller does the same amount of splitting as the standard
spiller. Splitting should really be guided by the register allocator, and
doesn't belong in the spiller at all.
llvm-svn: 118216
|
| |
|
|
| |
llvm-svn: 118212
|
| |
|
|
|
|
|
|
|
| |
or dependent specializations, rip apart the dependent name/dependent
specialization to recanonicalize its pieces, because
nested-name-specifiers store "dependent-type::identifier" differently
than types do. Fixes PR7419.
llvm-svn: 118211
|
| |
|
|
|
|
| |
CodeEmitter.
llvm-svn: 118209
|
| |
|
|
|
|
| |
is a objc qualified class type. // rdar: //8608902
llvm-svn: 118208
|
| |
|
|
| |
llvm-svn: 118207
|
| |
|
|
|
|
|
| |
Fixups list for the instruction so the operand encoders can add to it as
needed.
llvm-svn: 118206
|
| |
|
|
|
|
|
| |
block pointer type arguments. Partial fix for
// rdar: //8608902
llvm-svn: 118205
|
| |
|
|
|
|
|
|
| |
rather than legalization.
This is both the conceptually correct place for it, as well as allowing it to be more aggressive.
llvm-svn: 118204
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.
--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
file operations will be abstracted in the future for the reproduction mechanism.
FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.
Addresses rdar://8583824.
llvm-svn: 118203
|
| |
|
|
| |
llvm-svn: 118202
|
| |
|
|
|
|
|
| |
We could be more aggressive about making this work for a larger range of constants,
but this seems like a good start.
llvm-svn: 118201
|
| |
|
|
|
|
|
|
| |
exceptions for different languages out of
ThreadPlanCallFunction and put it into the
appropriate language runtimes.
llvm-svn: 118200
|
| |
|
|
| |
llvm-svn: 118199
|
| |
|
|
|
|
| |
It should be c's parent frame being a instead of the other way around.
llvm-svn: 118198
|
| |
|
|
|
|
|
|
|
|
|
| |
local variable and an argument variable.
Add ValueTypeString() utility function into lldbutil.py which converts the enum
into a human readable string.
Modify TestBase.DebugSBValue() to also dump the value type of an SBValue object.
llvm-svn: 118197
|
| |
|
|
| |
llvm-svn: 118196
|
| |
|
|
|
|
| |
just do it earlier too.
llvm-svn: 118195
|
| |
|
|
|
|
| |
splitting needs them.
llvm-svn: 118194
|
| |
|
|
| |
llvm-svn: 118193
|
| |
|
|
| |
llvm-svn: 118192
|
| |
|
|
| |
llvm-svn: 118190
|
| |
|
|
|
|
|
|
| |
exception checks at the right time, and modified
ClangFunction so that it doesn't misinterpret the
stop as a timeout stop.
llvm-svn: 118189
|
| |
|
|
| |
llvm-svn: 118187
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
a good
idea to also dump the session information for expected failures in addition to
failures and errors (tests with unexpected exceptions).
Modify the LLDBTestResult class which derives from unittest2.TextTestResult to
intercept the addExpectedFailure() method in order to mark the test instance as
needing its session information dumped.
llvm-svn: 118185
|
| |
|
|
|
|
|
|
|
| |
element size. Instead,
all of the different element sizes are pseudo instructions that map down to vext.8 underneath, with
the immediate shifted left to reflect the increased element size.
llvm-svn: 118183
|
| |
|
|
|
|
| |
on non-X86 hosts. Hopefully fixes ppc-host buildbot.
llvm-svn: 118182
|
| |
|
|
|
|
| |
PR7702.
llvm-svn: 118181
|
| |
|
|
| |
llvm-svn: 118180
|
| |
|
|
|
|
| |
been fixed.
llvm-svn: 118179
|
| |
|
|
|
|
|
|
|
| |
the sets of available conversions for the first and second arguments
separate. This is apparently the indent of C++ [over.built], and
reduces the number of overload candidates generated, eliminating some
ambiguities. Fixes PR8477.
llvm-svn: 118178
|
| |
|
|
| |
llvm-svn: 118176
|