| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
lldb-forward.h which is a public header uses SharingPtr, so we need to include that header as well.
llvm-svn: 309429
|
|
|
|
|
|
| |
Small change to correct the install path of the nonui debugserver.
llvm-svn: 309428
|
|
|
|
|
|
| |
Fix a quick bug from r309395.
llvm-svn: 309396
|
|
|
|
|
|
| |
This enables libcompression when available in the CMake build system.
llvm-svn: 309395
|
|
|
|
|
|
|
|
|
|
| |
This patch does the following:
* Gets the header copy step to re-run whenever header change
* Gets the header fix-up step to re-run whenever headers are copied
* Removes lldb-private*.h headers from the installed headers
llvm-svn: 309394
|
|
|
|
|
|
| |
This gets CMake to match the Xcode project build
llvm-svn: 309393
|
|
|
|
|
|
| |
This removes the configuration order dependence between LLDB and Clang.
llvm-svn: 309392
|
|
|
|
| |
llvm-svn: 309265
|
|
|
|
|
| |
Subscribers: jaydeep, bhushan, lldb-commits, slthakur
llvm-svn: 309250
|
|
|
|
|
|
|
|
| |
Patch by Jessica Han <jessicah@juniper.net>
https://reviews.llvm.org/D35525
llvm-svn: 309238
|
|
|
|
|
|
| |
rdar://problem/33462362
llvm-svn: 309046
|
|
|
|
|
|
|
|
| |
When building for iOS we build two variants of debugserver. One which supports UI functionality like Springboard for launching applications, and one which does not.
This patch adds support for building debugserver with and without UI support libraries being available.
llvm-svn: 309026
|
|
|
|
|
|
| |
On iOS frameworks don't have versions or resources, they are flatter bundles. This updates the LLDB framework build to accommodate the flatter bundles.
llvm-svn: 309025
|
|
|
|
|
|
| |
This adds an explicit step for processing the headers and restructures how the framework bundles are constructed. This should make the frameworks more reliably constructed.
llvm-svn: 309024
|
|
|
|
|
|
| |
The LLDB framework build looks for the swig-generated source in the wrong place. This should resolve that.
llvm-svn: 309023
|
|
|
|
|
|
| |
This is just setting to the default behavior, so it does nothing.
llvm-svn: 309022
|
|
|
|
|
|
| |
This is only used in one file, and we already set it correctly on that file, so we don't need to set this everywhere.
llvm-svn: 309021
|
|
|
|
|
|
| |
When consigning debugserver we should also include the entitlements file on the code sign command.
llvm-svn: 309020
|
|
|
|
|
|
| |
This is a follow-up to r308905.
llvm-svn: 309019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s_source_map in ClangExternalASTSourceCommon.cpp is unguarded
and therefore can break in multithreaded conditions. This can
cause crashes in particular if multiple targets are being set
up at once.
This patch wraps s_source_map in a function that ensures
exclusivity, and makes every user of it use that function
instead.
<rdar://problem/33429774> lldb crashes after "resume_off"
Differential Revision: https://reviews.llvm.org/D35083
llvm-svn: 308993
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now -shlib flag can be provided alongside with names of symbols files:
(lldb) target symbols add --shlib stripper-lib.so unstripper-lib.so
This is helpful when default matching mechanisms by name and UUID
can't find a module, and the user needs to explicitly specify
which module the given symbol file belongs to.
Differential Revision: https://reviews.llvm.org/D35607
llvm-svn: 308933
|
|
|
|
| |
llvm-svn: 308919
|
|
|
|
|
|
|
|
| |
able to be found.
Differential Revision: https://reviews.llvm.org/D35734
llvm-svn: 308911
|
|
|
|
|
|
|
|
| |
This reapplies https://reviews.llvm.org/D35740 with a tweak to find
the section by name rather than type. Section types don't distinguish
between regular sections and their DWO counterparts.
llvm-svn: 308905
|
|
|
|
| |
llvm-svn: 308896
|
|
|
|
|
|
| |
This reverts commit r308850.
llvm-svn: 308851
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The DWO handling code can get confused by clang modules which also use
skeleton CUs to point to the object file with the full debug
info. This patch detects whether an object is a "real" DWO or a clang
module and prevents LLDB from interpreting clang modules as DWO. This
fixes the regression in TestWithModuleDebugging.
http://llvm.org/bugs/show_bug.cgi?id=33875
Differential Revision: https://reviews.llvm.org/D35740
llvm-svn: 308850
|
|
|
|
|
|
| |
through annotation.
llvm-svn: 308776
|
|
|
|
| |
llvm-svn: 308732
|
|
|
|
| |
llvm-svn: 308716
|
|
|
|
|
|
|
|
|
| |
This seemed natural to us, but wasn't documented anywhere and was
not clear to everybody.
<rdar://problem/33316164>
llvm-svn: 308549
|
|
|
|
|
|
|
|
|
| |
This commit removes a very old deprecated API that was causing compile failures for LLDB on Darwin. Since the comment says we only needed to keep the old API around for a few Xcode builds, and the comment was written 6 years ago... I think this can safely go away.
Failure URL:
http://lab.llvm.org:8080/green/view/LLDB/job/lldb_build_test/29936/console
llvm-svn: 308509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cast to `const uint8_t *` instead of `uint8_t *` to avoid the warning
from GCC.
EmulationStateARM.cpp:206:34: warning: cast from type 'const void*' to type 'uint8_t* {aka unsigned char*}' casts away qualifiers [-Wcast-qual]
Cast to `const uint32_t *` and the explicitly cast away the const-ness
of the value. This seems pretty sketchy as the `DataExtractor` holds a
const reference to the data. However, this is no worse than before.
ObjectFilePECOFF.cpp:540:78: warning: cast from type 'const uint8_t* {aka const unsigned char*}' to type 'uint32_t* {aka unsigned int*}' casts away qualifiers [-Wcast-qual]
llvm-svn: 308489
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
SBBreakpointLocation exposed the ignore count, but didn't expose
the hit count. Both values were exposed by SBBreakpoint and
SBWatchpoint, so this makes things a bit more consistent.
Reviewers: lldb-commits
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D31283
llvm-svn: 308480
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: lldb-commits
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D31282
llvm-svn: 308426
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
* Provide API doc for SBProcess::SaveCore.
* Fix typo in SBAttachInfo doc comments.
* SBBreakpointList: Name some variables same as C++.
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D35614
llvm-svn: 308425
|
|
|
|
|
|
|
|
|
|
|
| |
CMake target "check-lldb" runs the lldb dotest.py suite, but doesn't
collect the results in a usable format. In adding the arguments
necessary to collect these results, I found some minor bugs in CMake
that prevented dotest overrides from being used. This patch fixes them.
<rdar://problem/33389717> cmake build needs to run tests AND collect results
llvm-svn: 308393
|
|
|
|
|
|
| |
These changes enable proper configuration of LLDB targeting iOS.
llvm-svn: 308378
|
|
|
|
|
|
|
|
|
| |
This refactoring changes two significant things about how the debugserver build system works:
(1) debugserver will include all appropriate architecture support, so we can now build arm or ppc debugservers
(2) debugserver can be built by itself, so you don't have to configure all of LLDB in order to generate debugserver.
llvm-svn: 308377
|
|
|
|
|
|
| |
Since we set the minimum required version elsewhere to be higher this actually has meaningful good impact.
llvm-svn: 308376
|
|
|
|
| |
llvm-svn: 308307
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
It defined a couple of types (condition_t) which we don't use anymore,
as we have c++11 goodies now. I remove these definitions.
Also it unnecessarily included a couple of headers which weren't
necessary for it's operation. I remove these, and place the includes in
the relevant files (usually .cpp, usually in Host code) which use them.
This allows us to reduce namespace pollution in most of the lldb files
which don't need the OS-specific definitions.
Reviewers: zturner, jingham
Subscribers: ki.stfu, lldb-commits
Differential Revision: https://reviews.llvm.org/D35113
llvm-svn: 308304
|
|
|
|
| |
llvm-svn: 308292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The usage of shared_from_this forces us to separate construction and
initialization phases, because shared_from_this() is not available in
the constructor (or destructor). The shared semantics are not necessary,
as we always have a clear owner of the native process class
(GDBRemoteCommunicationServerLLDB object). Even if we need shared
semantics in the future (which I think we should strongly avoid),
reverting this will not be necessary -- the owners can still easily
store the native process object in a shared pointer if they really want
to -- this just prevents the knowledge of that from leaking into the
class implementation.
After this a NativeThread object will hold a reference to the parent
process (instead of a weak_ptr) -- having a process instance always
available allows us to simplify some logic in this class (some of it was
already simplified because we were asserting that the process is
available, but this makes it obvious).
Reviewers: krytarowski, eugene, zturner
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D35123
llvm-svn: 308282
|
|
|
|
| |
llvm-svn: 308219
|
|
|
|
|
|
|
|
| |
While adding IPv6 support to debugserver I broke handling wildcard addresses and fully qualified address filtering. This patch resolves that bug and adds a test for matching the address "*".
<rdar://problem/32947613>
llvm-svn: 307957
|
|
|
|
|
|
| |
https://reviews.llvm.org/D34911 from Weng Xuetian.
llvm-svn: 307944
|
|
|
|
| |
llvm-svn: 307943
|
|
|
|
|
|
|
|
|
|
|
| |
The interpreter gets invoked in the sigint handler to cancel
long-running Python operations. That requires the interpreter
lock, but that may be held by the Python operation that's getting
interrupted, so the mutex needs to be recursive.
<rdar://problem/33179086>
llvm-svn: 307942
|
|
|
|
|
|
| |
InstrumentationRuntime breakpoints. (#235)
llvm-svn: 307881
|