[Lldb-commits] [lldb] r331242 - Fix type_lookup test to make buildbots happy

2018-04-30 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Apr 30 20:06:05 2018 New Revision: 331242 URL: http://llvm.org/viewvc/llvm-project?rev=331242&view=rev Log: Fix type_lookup test to make buildbots happy Added: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/type_lookup/TestCppTypeLookup.py - copied, changed

[Lldb-commits] [lldb] r330163 - Make sure deleting all breakpoints clears their sites first

2018-04-16 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Apr 16 15:26:21 2018 New Revision: 330163 URL: http://llvm.org/viewvc/llvm-project?rev=330163&view=rev Log: Make sure deleting all breakpoints clears their sites first Bug: https://bugs.llvm.org/show_bug.cgi?id=36430 Differential Revision: https://reviews.llvm.org/D45554

[Lldb-commits] [lldb] r324558 - Deactivate TestTargetSymbolsBuildidCase if host is windows

2018-02-07 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Wed Feb 7 19:05:47 2018 New Revision: 324558 URL: http://llvm.org/viewvc/llvm-project?rev=324558&view=rev Log: Deactivate TestTargetSymbolsBuildidCase if host is windows Makefile has unix magic and thus not working on windows. Modified: lldb/trunk/packages/Python/lldbs

[Lldb-commits] [lldb] r324380 - More correct handling of error cases C++ name parser

2018-02-06 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Feb 6 11:04:12 2018 New Revision: 324380 URL: http://llvm.org/viewvc/llvm-project?rev=324380&view=rev Log: More correct handling of error cases C++ name parser Now incorrect type argument that looks like T doesn't cause an assert, but just a parsing error. Bug: 36224 Di

[Lldb-commits] [lldb] r324288 - Disable test_restart_bug failing on Android

2018-02-05 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Feb 5 15:31:58 2018 New Revision: 324288 URL: http://llvm.org/viewvc/llvm-project?rev=324288&view=rev Log: Disable test_restart_bug failing on Android Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/signal/raise/TestRaise.py Modified: lldb/trun

[Lldb-commits] [lldb] r322251 - Advanced guessing of rendezvous breakpoint (resubmit)

2018-01-10 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Wed Jan 10 19:46:35 2018 New Revision: 322251 URL: http://llvm.org/viewvc/llvm-project?rev=322251&view=rev Log: Advanced guessing of rendezvous breakpoint (resubmit) When rendezvous structure is not initialized we need to set up rendezvous breakpoint anyway. In this case the

[Lldb-commits] [lldb] r322229 - Revert "Advanced guessing of rendezvous breakpoint"

2018-01-10 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Wed Jan 10 14:25:33 2018 New Revision: 39 URL: http://llvm.org/viewvc/llvm-project?rev=39&view=rev Log: Revert "Advanced guessing of rendezvous breakpoint" This reverts commit r322209, because it broke TestNoreturnUnwind,TestInferiorAssert and TestNumThreads on i386.

[Lldb-commits] [lldb] r322209 - Advanced guessing of rendezvous breakpoint

2018-01-10 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Wed Jan 10 11:04:36 2018 New Revision: 322209 URL: http://llvm.org/viewvc/llvm-project?rev=322209&view=rev Log: Advanced guessing of rendezvous breakpoint When rendezvous structure is not initialized we need to set up rendezvous breakpoint anyway. In this case the code will l

[Lldb-commits] [lldb] r318504 - Fix LLDB build.

2017-11-16 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Nov 16 19:28:58 2017 New Revision: 318504 URL: http://llvm.org/viewvc/llvm-project?rev=318504&view=rev Log: Fix LLDB build. It was broken by r318489. Modified: lldb/trunk/source/Utility/StructuredData.cpp Modified: lldb/trunk/source/Utility/StructuredData.cpp URL:

[Lldb-commits] [lldb] r315008 - Enable breakpoints and read/write GPRs for ppc64le

2017-10-05 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Oct 5 12:44:05 2017 New Revision: 315008 URL: http://llvm.org/viewvc/llvm-project?rev=315008&view=rev Log: Enable breakpoints and read/write GPRs for ppc64le Add support for ppc64le to create breakpoints and read/write general purpose registers. Other features for ppc64l

[Lldb-commits] [lldb] r314488 - Fix Android remote debugging tests running on Windows

2017-09-28 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Sep 28 20:25:25 2017 New Revision: 314488 URL: http://llvm.org/viewvc/llvm-project?rev=314488&view=rev Log: Fix Android remote debugging tests running on Windows Use make based OS check, instad of relying on shell. Modified: lldb/trunk/packages/Python/lldbsuite/test

[Lldb-commits] [lldb] r314487 - Fix compilation error

2017-09-28 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Sep 28 20:15:08 2017 New Revision: 314487 URL: http://llvm.org/viewvc/llvm-project?rev=314487&view=rev Log: Fix compilation error Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp lldb/trunk/source/Symbol/ClangASTContext.cpp Modified:

[Lldb-commits] [lldb] r314127 - Use socketpair on all Unix platforms

2017-09-25 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Sep 25 10:41:16 2017 New Revision: 314127 URL: http://llvm.org/viewvc/llvm-project?rev=314127&view=rev Log: Use socketpair on all Unix platforms Using TCP sockets is insecure against local attackers, and possibly against remote attackers too (some vulnerabilities may allo

[Lldb-commits] [lldb] r313726 - Signal polling is supported with pselect (re-land r313704 without a Windows breakage)

2017-09-19 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Sep 19 23:56:46 2017 New Revision: 313726 URL: http://llvm.org/viewvc/llvm-project?rev=313726&view=rev Log: Signal polling is supported with pselect (re-land r313704 without a Windows breakage) Older Android API levels don't have ppoll, but LLDB works just fine, since on

[Lldb-commits] [lldb] r313707 - Rollback r313704 because of the Windows build break

2017-09-19 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Sep 19 18:57:59 2017 New Revision: 313707 URL: http://llvm.org/viewvc/llvm-project?rev=313707&view=rev Log: Rollback r313704 because of the Windows build break Modified: lldb/trunk/include/lldb/Host/MainLoop.h lldb/trunk/source/Host/common/MainLoop.cpp Modified:

[Lldb-commits] [lldb] r313704 - Signal polling is supported with pselect

2017-09-19 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Sep 19 17:39:04 2017 New Revision: 313704 URL: http://llvm.org/viewvc/llvm-project?rev=313704&view=rev Log: Signal polling is supported with pselect Older Android API levels don't have ppoll, but LLDB works just fine, since on Android it always uses pselect anyway. Modif

Re: [Lldb-commits] [lldb] r313437 - Check availability of accept4 in C++ instad of C code.

2017-09-18 Thread Eugene Zemtsov via lldb-commits
Sezer wrote: > What difference does this make? > > On Fri, Sep 15, 2017 at 8:00 PM Eugene Zemtsov via lldb-commits < > lldb-commits@lists.llvm.org> wrote: > >> Author: eugene >> Date: Fri Sep 15 19:58:49 2017 >> New Revision: 313437 >> >> URL:

[Lldb-commits] [lldb] r313437 - Check availability of accept4 in C++ instad of C code.

2017-09-15 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Fri Sep 15 19:58:49 2017 New Revision: 313437 URL: http://llvm.org/viewvc/llvm-project?rev=313437&view=rev Log: Check availability of accept4 in C++ instad of C code. Modified: lldb/trunk/cmake/modules/LLDBGenerateConfig.cmake Modified: lldb/trunk/cmake/modules/LLDBGener

[Lldb-commits] [lldb] r313436 - More precise c library feature detection for Android.

2017-09-15 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Fri Sep 15 19:19:21 2017 New Revision: 313436 URL: http://llvm.org/viewvc/llvm-project?rev=313436&view=rev Log: More precise c library feature detection for Android. Modified: lldb/trunk/cmake/modules/LLDBGenerateConfig.cmake lldb/trunk/source/Host/common/Socket.cpp

[Lldb-commits] [lldb] r313113 - Fix test_attach_to_process_from_different_dir_by_id test on Windows

2017-09-12 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Sep 12 19:44:24 2017 New Revision: 313113 URL: http://llvm.org/viewvc/llvm-project?rev=313113&view=rev Log: Fix test_attach_to_process_from_different_dir_by_id test on Windows On Windows a process can't delete its own current direcotry, that's why the test needs to return

[Lldb-commits] [lldb] r312151 - Now a ppc64le binary is correctly detected:

2017-08-30 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Wed Aug 30 11:36:48 2017 New Revision: 312151 URL: http://llvm.org/viewvc/llvm-project?rev=312151&view=rev Log: Now a ppc64le binary is correctly detected: (lldb) target create "tst" Current executable set to 'tst' (powerpc64le). (lldb) disassemble -n main tst`main: tst[0x7b0

[Lldb-commits] [lldb] r309648 - Fix incorrect use of std::unique

2017-07-31 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Jul 31 18:29:55 2017 New Revision: 309648 URL: http://llvm.org/viewvc/llvm-project?rev=309648&view=rev Log: Fix incorrect use of std::unique Modified: lldb/trunk/source/Symbol/Symtab.cpp Modified: lldb/trunk/source/Symbol/Symtab.cpp URL: http://llvm.org/viewvc/llvm-

[Lldb-commits] [lldb] r308933 - Extend 'target symbols add' to load symbols from a given module

2017-07-24 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Jul 24 15:52:39 2017 New Revision: 308933 URL: http://llvm.org/viewvc/llvm-project?rev=308933&view=rev Log: Extend 'target symbols add' to load symbols from a given module Now -shlib flag can be provided alongside with names of symbols files: (lldb) target symbols add --

[Lldb-commits] [lldb] r308219 - Fixing LLDB build after refactoring of clang's MacroInfo

2017-07-17 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Jul 17 13:50:21 2017 New Revision: 308219 URL: http://llvm.org/viewvc/llvm-project?rev=308219&view=rev Log: Fixing LLDB build after refactoring of clang's MacroInfo Modified: lldb/trunk/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp Modified: lldb/

[Lldb-commits] [lldb] r302948 - Fix build on Mac OS.

2017-05-12 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Fri May 12 15:44:09 2017 New Revision: 302948 URL: http://llvm.org/viewvc/llvm-project?rev=302948&view=rev Log: Fix build on Mac OS. Modified: lldb/trunk/source/Host/macosx/Host.mm Modified: lldb/trunk/source/Host/macosx/Host.mm URL: http://llvm.org/viewvc/llvm-project/

Re: [Lldb-commits] [PATCH] D32434: ObjectFileELF: Fix symbol lookup in bss section

2017-04-24 Thread Eugene Zemtsov via lldb-commits
Microsoft Visual C++ first comes to my mind. On Mon, Apr 24, 2017 at 2:31 PM, Zachary Turner wrote: > Which C compilers do we have that are not capable of producing ELF > binaries? GCC on Windows maybe? That's not even a supported test > configuration. > > On Mon, Apr 24, 2017 at 2:29 PM Pave

Re: [Lldb-commits] [PATCH] D31451: New C++ function name parsing logic

2017-04-06 Thread Eugene Zemtsov via lldb-commits
Thanks for vigilance. I added a couple more tests in r299729. On Thu, Apr 6, 2017 at 4:06 PM, Jim Ingham via Phabricator < revi...@reviews.llvm.org> wrote: > jingham added a comment. > > I'm sorry, I don't have time actually review the code here for > correctness... But can you make sure that th

[Lldb-commits] [lldb] r299729 - Add more tests for ExtractContextAndIdentifier

2017-04-06 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Apr 6 18:12:43 2017 New Revision: 299729 URL: http://llvm.org/viewvc/llvm-project?rev=299729&view=rev Log: Add more tests for ExtractContextAndIdentifier Modified: lldb/trunk/unittests/Language/CPlusPlus/CPlusPlusLanguageTest.cpp Modified: lldb/trunk/unittests/Langu

[Lldb-commits] [lldb] r299721 - New C++ function name parsing logic (Resubmit)

2017-04-06 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Thu Apr 6 17:36:02 2017 New Revision: 299721 URL: http://llvm.org/viewvc/llvm-project?rev=299721&view=rev Log: New C++ function name parsing logic (Resubmit) Current implementation of CPlusPlusLanguage::MethodName::Parse() doesn't get anywhere close to covering full extent o

Re: [Lldb-commits] [PATCH] D31451: New C++ function name parsing logic

2017-04-04 Thread Eugene Zemtsov via lldb-commits
Sorry about that and thanks for rolling it back. I'll take a look tomorrow. On Tue, Apr 4, 2017 at 5:22 PM, Jim Ingham wrote: > This patch is causing a testsuite failure in ObjC breakpoint setting: > > functionalities/breakpoint/objc/TestObjCBreakpoints.py > > You must be grabbing ObjC names and

[Lldb-commits] [lldb] r299374 - New C++ function name parsing logic

2017-04-03 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Apr 3 13:59:34 2017 New Revision: 299374 URL: http://llvm.org/viewvc/llvm-project?rev=299374&view=rev Log: New C++ function name parsing logic Current implementation of CPlusPlusLanguage::MethodName::Parse() doesn't get anywhere close to covering full extent of possible

[Lldb-commits] [lldb] r297231 - Make LLDB skip server-client roundtrip for signals that don't require any actions

2017-03-07 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Tue Mar 7 15:34:40 2017 New Revision: 297231 URL: http://llvm.org/viewvc/llvm-project?rev=297231&view=rev Log: Make LLDB skip server-client roundtrip for signals that don't require any actions If QPassSignals packaet is supported by lldb-server, lldb-client will utilize it

Re: [Lldb-commits] [PATCH] D30520: Make LLDB skip server-client roundtrip for signals that don't require any actions

2017-03-06 Thread Eugene Zemtsov via lldb-commits
UnixSignals::NeedsUpdating() method suggests that there is always at most one observer of changes in UnixSignals, the guys who clear the flag. Even though it might be the case now, it still feels like a bomb waiting to explode when another observer starts calling UnixSignals::ResetNeedsUpdating().

[Lldb-commits] [lldb] r296427 - Add a comment to describe purpose of signal-filtering test

2017-02-27 Thread Eugene Zemtsov via lldb-commits
Author: eugene Date: Mon Feb 27 20:40:34 2017 New Revision: 296427 URL: http://llvm.org/viewvc/llvm-project?rev=296427&view=rev Log: Add a comment to describe purpose of signal-filtering test Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/signal-filtering/TestGdbRemote