ravitheja added inline comments.
Comment at: source/Plugins/Process/Linux/NativeProcessLinux.cpp:611
+
+if (ProcessorTraceMonitor::GetProcessTraceID() != LLDB_INVALID_UID) {
+ auto traceMonitor = ProcessorTraceMonitor::Create(
labath wrote:
> Every call
ravitheja added inline comments.
Comment at: source/Plugins/Process/Linux/ProcessorTrace.cpp:158
+LLDB_LOG(log, "ProcessorTrace failed to open Config file");
+error.SetError(FileNotFound, eErrorTypePOSIX);
+return error;
labath wrote:
> eErrorTypePOSI
labath added a comment.
Unfortunately, posix_spawn does not satisfy all our needs for launching
processes on non-darwin platforms (according to its design rationale, that was
never the intention). The most notable one is the "launch a process for
debugging". Darwin seems to have added extension
labath added inline comments.
Comment at: source/Plugins/Process/Linux/NativeProcessLinux.h:282
+ // same process user id.
+ llvm::DenseSet m_pt_traced_thread_group;
};
ravitheja wrote:
> labath wrote:
> > I am confused about the purpose of this member variabl
labath created this revision.
Use c++11 thread_local variables instead. As far as I am aware, they are
supported by all compilers/targets we care about.
https://reviews.llvm.org/D34274
Files:
include/lldb/Host/Host.h
source/Core/Timer.cpp
source/Host/common/Host.cpp
source/Host/windows/
ravitheja added a comment.
Just to make things clear, I will explain a use case
Suppose if we are debugging an application where the main thread spawns a
second new thread ->
int main() {
int i = 0; // user starts tracing on main thread -> gets traceid 1
. // Some statements
i++;
ravitheja added inline comments.
Comment at: source/Plugins/Process/Linux/NativeProcessLinux.h:282
+ // same process user id.
+ llvm::DenseSet m_pt_traced_thread_group;
};
labath wrote:
> ravitheja wrote:
> > labath wrote:
> > > I am confused about the purpose
ravitheja added inline comments.
Comment at: source/Plugins/Process/Linux/ProcessorTrace.cpp:158
+LLDB_LOG(log, "ProcessorTrace failed to open Config file");
+error.SetError(FileNotFound, eErrorTypePOSIX);
+return error;
labath wrote:
> ravitheja wrot
zturner added a comment.
The last time I tried to do this we couldn't because it didn't yet work on iOS.
I checked with some Apple people though and they said `thread_local` support
was released last year on all Apple platforms. So hopefully there's no more
hurdles to getting this in.
https
krytarowski added a comment.
Modern BSDs should be fine on popular platforms.
https://reviews.llvm.org/D34274
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
Author: kuba.brecka
Date: Fri Jun 16 15:59:08 2017
New Revision: 305589
URL: http://llvm.org/viewvc/llvm-project?rev=305589&view=rev
Log:
Upstreaming the UndefinedBehaviorSanitizerRuntime and MainThreadCheckerRuntime
plugins.
Added:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/
Author: kuba.brecka
Date: Fri Jun 16 16:18:28 2017
New Revision: 305594
URL: http://llvm.org/viewvc/llvm-project?rev=305594&view=rev
Log:
Fix the CMake files for the new InstrumentationRuntime plugins.
Modified:
lldb/trunk/source/Plugins/InstrumentationRuntime/MainThreadChecker/CMakeLists.t
Hello everyone,
Below are some buildbot numbers for the week of 05/28/2017 - 06/03/2017.
Please see the same data in attached csv files:
The longest time each builder was red during the last week;
"Status change ratio" by active builder (percent of builds that changed the
builder status from gre
Hello everyone,
Below are some buildbot numbers for the last week of 06/04/2017 -
06/10/2017.
Please see the same data in attached csv files:
The longest time each builder was red during the last week;
"Status change ratio" by active builder (percent of builds that changed the
builder status fro
emaste added a comment.
Fine from FreeBSD
https://reviews.llvm.org/D34274
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
emaste added a comment.
FreeBSD build and test in progress.
https://reviews.llvm.org/D34236
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
16 matches
Mail list logo