Re: [lldb-dev] Module Cache improvements - RFC

2016-02-23 Thread Oleksiy Vyalov via lldb-dev
For progress purposes in Android Studio we listen on eBroadcastBitModulesLoaded coming from the target so we can report about every loaded SO. On Tue, Feb 23, 2016 at 10:00 AM, Greg Clayton via lldb-dev < lldb-dev@lists.llvm.org> wrote: > I believe this is already done. > > I am guessing the main

Re: [lldb-dev] reply: reply: lldb debug jit-compiled code with llvm on windows

2015-12-02 Thread Oleksiy Vyalov via lldb-dev
Could you re-build lldb with http://reviews.llvm.org/D15172 and try to hit a breakpoint in jit code? I'm using following setup to compile and run JIT code: ./build_release/bin/clang -c -O0 -g -emit-llvm ./jit_test.cpp ./build_release/bin/lli -debugger-tune=lldb -jit-kind=mcjit ~/projects/lldb/test

Re: [lldb-dev] Refactoring dotest as a Python package

2015-10-28 Thread Oleksiy Vyalov via lldb-dev
The fix seems to work - http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/7900 . Thank you. On Wed, Oct 28, 2015 at 12:21 PM, Zachary Turner wrote: > Committed r251544 to try to fix this. > > On Wed, Oct 28, 2015 at 12:18 PM Zachary Turner > wrote: > >> It's saying "import

Re: [lldb-dev] Refactoring dotest as a Python package

2015-10-28 Thread Oleksiy Vyalov via lldb-dev
Linux build bot is failing http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/7895 : /lldb-buildbot/lldbSlave/buildWorkingDir/scripts/../llvm/tools/lldb/test/dotest.py --executable /lldb-buildbot/lldbSlave/buildWorkingDir/scripts/../build/bin/lldb -A i386 -C clang-3.5 -s logs-

Re: [lldb-dev] Compiling LLDB on Centos 5 (dont judge me)

2015-10-27 Thread Oleksiy Vyalov via lldb-dev
Hi Mark, what compiler do you use? Could you try to build LLDB with clang 3.5 specifying it via DCMAKE_C_COMPILER and DCMAKE_CXX_COMPILER flags? It might be a problem with sysroot setup since some headers are not found - you can try to pass a custom sysroot with -DCMAKE_CXX_FLAGS="--sysroot=..."

Re: [lldb-dev] Python object lifetimes affect the reliability of tests

2015-10-15 Thread Oleksiy Vyalov via lldb-dev
I stumbled upon similar problem when was looking into why SBDebugger wasn't unloaded upon app's exit. The problem was in Python global objects like lldb.debugger, lldb.target sitting around. So, my guess is to try to call ScriptInterpreterPython::Clear within test's tearDown call - e.g., expose Cl

Re: [lldb-dev] TestAttachDenied - timing out

2015-09-29 Thread Oleksiy Vyalov via lldb-dev
Test used to be flaky from time to time but in http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/6802 it failed consistently for all configurations - that's pretty suspicious. Test inferior writes some output to stdout and stderr - I don't have a lot of context about http://re