| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 294991
|
|
|
|
|
|
| |
<rdar://problem/28147057>
llvm-svn: 294990
|
|
|
|
|
|
| |
Utility is directly referenced from Breakpoint.
llvm-svn: 294987
|
|
|
|
|
|
| |
Utility is directly referenced from API.
llvm-svn: 294986
|
|
|
|
|
|
| |
log->Debug is gone, switch to using log->Verbose
llvm-svn: 294944
|
|
|
|
| |
llvm-svn: 294940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
We've had two ways to print a "debug" log message.
- Log::GetDebug() was testing a Stream flag which was never set.
- Log::Debug() was checking for the presence of "log enable --debug"
flag.
Given that these two were used very rarely and we already have a
different way to specify "I want a more verbose log", I propose to remove
these two functions and migrate the callers to LLDB_LOGV. This commit
does that.
Reviewers: clayborg, zturner
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D29823
llvm-svn: 294939
|
|
|
|
|
|
|
|
| |
mangled name correctly. Previously this was getting the function type's name which was not correct.
This info appears in the output of "image lookup --verbose --address ADDRESS".
llvm-svn: 294804
|
|
|
|
|
|
| |
In r294767, I added these dependencies in the wrong place.
llvm-svn: 294768
|
|
|
|
| |
llvm-svn: 294767
|
|
|
|
| |
llvm-svn: 294763
|
|
|
|
|
|
| |
this time I have actually tried that it compiles on windows.
llvm-svn: 294744
|
|
|
|
|
|
| |
Update the platform-specific log classes to match the new interface.
llvm-svn: 294743
|
|
|
|
|
|
|
| |
- move the header file to the include folder
- enclose the class in the proper namespace
llvm-svn: 294741
|
|
|
|
| |
llvm-svn: 294739
|
|
|
|
|
|
|
|
|
|
| |
and use it in the appropriate log statements.
Formatting of chrono types in log messages was very clunky. This should
make it much nicer to use and give better output. For details of the
formatting options see the chrono formatter in llvm.
llvm-svn: 294738
|
|
|
|
|
|
|
|
| |
This test is flaky on the windows->android bot. Change assertTrue to
assertEqual in the hope better error messages will direct us to the
problem.
llvm-svn: 294737
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This converts LLDB's logging to use llvm streams instead of
lldb_private::Stream and friends. The changes are mostly
straight-forward and amount to s/lldb_private::Stream/llvm::raw_ostream.
The part worth calling out is the rewrite of the StreamCallback class.
Previously this class contained a per-thread buffer of data written. I
assume this had something to do with it trying to make sure each log
line is delivered as a single event, instead of multiple (possibly
interleaved) events. However, this is no longer relevant as the Log
class already writes things to a temporary buffer and then delivers the
message as a single "write", so I have just removed the code in
question.
Reviewers: zturner, clayborg
Subscribers: emaste, lldb-commits, mgorny
Differential Revision: https://reviews.llvm.org/D29615
llvm-svn: 294736
|
|
|
|
|
|
| |
<rdar://problem/27580297>
llvm-svn: 294611
|
|
|
|
| |
llvm-svn: 294603
|
|
|
|
|
|
|
|
|
|
|
|
| |
through reserved ranges.
After many expressions are evaluated we were spending time looking for open blocks on memory in the one or more AllocatedBlock objects and it would slow down expression evaluation.
I implemented a fixed size blocks implementation that maintains a sorted free list to fix the issue.
<rdar://problem/17962974>
llvm-svn: 294600
|
|
|
|
| |
llvm-svn: 294597
|
|
|
|
| |
llvm-svn: 294583
|
|
|
|
| |
llvm-svn: 294580
|
|
|
|
|
|
|
|
|
|
| |
CommandObjectVersion.cpp calls lldb_private::GetVersion (present in lldbBase).
This should fix the unittest link on windows. I am not sure why is this not
present on other platforms -- my guess is that there lldbBase is included in
the link through some other dependency chain.
llvm-svn: 294549
|
|
|
|
|
|
|
|
|
|
| |
The Mips plugins conditionally link the Mips backend, so we need to conditionally add the target as a dependency.
This resolves a bot failure from r294515.
http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-buildserver/builds/4606/steps/build%20android/logs/stdio
llvm-svn: 294521
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch removes the over-specified dependencies from LLDBDependencies and instead relies on the dependencies as expressed in each library and tool.
This also removes the library looping in favor of allowing CMake to do its thing. I've tested this patch on Darwin, and found no issues, but since linker semantics vary by system I'll also work on testing it on other platforms too.
Help testing would be greatly appreciated.
Reviewers: labath, zturner
Subscribers: danalbert, srhines, mgorny, jgosnell, lldb-commits
Differential Revision: https://reviews.llvm.org/D29352
llvm-svn: 294515
|
|
|
|
|
| |
Subscribers: jaydeep, bhushan, lldb-commits, slthakur
llvm-svn: 294418
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: labath, clayborg
Subscribers: jaydeep, bhushan, lldb-commits, slthakur
Differential Revision: https://reviews.llvm.org/D29215
llvm-svn: 294415
|
|
|
|
| |
llvm-svn: 294372
|
|
|
|
|
|
|
|
|
|
| |
Inspired by r294145 for NetBSD, this reduces diffs between the FreeBSD
and Linux/NetBSD Platform implementations. Further diff reduction will
occur once FreeBSD switches to using the remote process plugin.
Differential Revision: https://reviews.llvm.org/D29667
llvm-svn: 294340
|
|
|
|
| |
llvm-svn: 294244
|
|
|
|
| |
llvm-svn: 294243
|
|
|
|
|
|
| |
replace by LLDB_LOGV
llvm-svn: 294224
|
|
|
|
|
|
| |
replace by LLDB_LOGV
llvm-svn: 294223
|
|
|
|
| |
llvm-svn: 294222
|
|
|
|
| |
llvm-svn: 294221
|
|
|
|
| |
llvm-svn: 294219
|
|
|
|
| |
llvm-svn: 294215
|
|
|
|
| |
llvm-svn: 294213
|
|
|
|
| |
llvm-svn: 294211
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead just rely on LLDB_LOG().
This is part of an effort to sort out dependency hell in LLDB.
Error is in Utility, but Log is in Core. Core can depend on
Utility, but not vice versa. So this patch moves the knowledge
about how to log Errors from the Error class to the Log file.
Differential Revision: https://reviews.llvm.org/D29514
llvm-svn: 294210
|
|
|
|
| |
llvm-svn: 294206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The std::call_once implementation in libstdc++ has problems on few systems: NetBSD, OpenBSD and Linux PPC. LLVM ships with a homegrown implementation llvm::call_once to help on these platforms.
This change is required in the NetBSD LLDB port. std::call_once with libstdc++ results with crashing the debugger.
Sponsored by <The NetBSD Foundation>
Reviewers: labath, joerg, emaste, mehdi_amini, clayborg
Reviewed By: labath, clayborg
Subscribers: #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D29288
llvm-svn: 294202
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Update the code to the new world code.
These changes are needed for remote process plugin.
Sponsored by <The NetBSD Foundation>
Reviewers: emaste, clayborg, joerg, labath
Reviewed By: clayborg, labath
Subscribers: #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D29266
llvm-svn: 294145
|
|
|
|
|
|
|
|
| |
don't create a platform.linux setting category, as it contains no
actual settings, and I don't forsee adding any soon. Also remove some
unused includes while I'm in there.
llvm-svn: 294114
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Per discussion in D28616, having two ways two request logging (log
enable lldb XXX verbose && log enable -v lldb XXX) is confusing. This
removes the first option and standardizes all code to use the second
one.
I've added a LLDB_LOGV macro as a shorthand for if(log &&
log->GetVerbose()) and switched most of the affected log statements to
use that (I've only left a couple of cases that were doing complex
computations in an if(log) block).
Reviewers: jingham, zturner
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D29510
llvm-svn: 294113
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The current version of LLDB installs six.py into global python library directory. This approach produces conflicts downstream with distribution's py-six copy.
Introduce new configure option LLDB_USE_SYSTEM_SIX (disabled by default). Once specified as TRUE, six.py won't be installed to Python's directory.
Add new option in finishSwigWrapperClasses.py, namely --useSystemSix.
Sponsored by <The NetBSD Foundation>
Reviewers: mgorny, emaste, clayborg, joerg, labath
Reviewed By: labath
Subscribers: #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D29405
llvm-svn: 294071
|
|
|
|
| |
llvm-svn: 294036
|
|
|
|
|
|
|
| |
it used printf with formatv style specifications. Also, switch to
LLDB_LOG.
llvm-svn: 294024
|