[Lldb-commits] [lldb] r360312 - Fix up lldb after clang r360311.

2019-05-08 Thread Richard Smith via lldb-commits
Author: rsmith Date: Wed May 8 21:40:57 2019 New Revision: 360312 URL: http://llvm.org/viewvc/llvm-project?rev=360312&view=rev Log: Fix up lldb after clang r360311. Patch by Tyker! Differential Revision: https://reviews.llvm.org/D60934 Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp

[Lldb-commits] [PATCH] D61713: [lldb] build.py: fix behavior when passing --compiler=/path/to/compiler

2019-05-08 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe created this revision. jgorbe added reviewers: labath, zturner. Herald added a subscriber: teemperor. Herald added a project: LLDB. All the other paths in the find_toolchain function return a tuple (detected_toolchain_type, compiler_path), but when the parameter to `--compiler` is not one

[Lldb-commits] [lldb] r360304 - Fix the output file dependency for Options.inc.

2019-05-08 Thread Jim Ingham via lldb-commits
Author: jingham Date: Wed May 8 18:43:27 2019 New Revision: 360304 URL: http://llvm.org/viewvc/llvm-project?rev=360304&view=rev Log: Fix the output file dependency for Options.inc. The script phase to do Options.td -> Options.inc was wrong (missing the "include" directory) so the rule didn't get

[Lldb-commits] [lldb] r360298 - [Reproducers] Fix reproducer unittest

2019-05-08 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Wed May 8 15:59:35 2019 New Revision: 360298 URL: http://llvm.org/viewvc/llvm-project?rev=360298&view=rev Log: [Reproducers] Fix reproducer unittest I think the recent change to flush the SB API recording uncovered a real issue on the Windows bot. Although I couldn't m

[Lldb-commits] [lldb] r360292 - Fix bug in ArchSpec::MergeFrom

2019-05-08 Thread Greg Clayton via lldb-commits
Author: gclayton Date: Wed May 8 15:03:22 2019 New Revision: 360292 URL: http://llvm.org/viewvc/llvm-project?rev=360292&view=rev Log: Fix bug in ArchSpec::MergeFrom Previous ArchSpec tests didn't catch this bug since we never tested just the OS being out of date. Fixed the bug and covered this

[Lldb-commits] [PATCH] D61659: Fix bug in ArchSpec::MergeFrom

2019-05-08 Thread Phabricator via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL360292: Fix bug in ArchSpec::MergeFrom (authored by gclayton, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commits. Changed prior to commit: https://reviews.llvm.org/D61

[Lldb-commits] [PATCH] D60153: Re-enable most lldb-vscode tests on Linux.

2019-05-08 Thread Stella Stamenova via Phabricator via lldb-commits
stella.stamenova added a comment. A couple of the tests from TestVSCode_attach.py (test_by_pid and test_by_name) are failing for us on Ubuntu because they are failing to attach: `AssertionError: False is not True : attach failed (Operation not permitted)`. It looks like attaching by pid or by n

[Lldb-commits] [lldb] r360286 - [Reproducers] Flush files to disk periodically

2019-05-08 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Wed May 8 14:07:19 2019 New Revision: 360286 URL: http://llvm.org/viewvc/llvm-project?rev=360286&view=rev Log: [Reproducers] Flush files to disk periodically Periodically flush some of the data to disk. Although not perfect, this helps when the debugger crashes. Modif

[Lldb-commits] [lldb] r360285 - [Reproducers] Fix unitialized pointer

2019-05-08 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Wed May 8 14:07:15 2019 New Revision: 360285 URL: http://llvm.org/viewvc/llvm-project?rev=360285&view=rev Log: [Reproducers] Fix unitialized pointer The FileCollector pointer in the FileSystem class wasn't initialized to nullptr during replay. Modified: lldb/trunk

Re: [Lldb-commits] [PATCH] D54747: Discard debuginfo for object files empty after GC

2019-05-08 Thread Eric Christopher via lldb-commits
Tagging in Teresa as well for the thinlto parts. On Wed, May 8, 2019 at 12:43 PM Nico Weber via Phabricator wrote: > > thakis added a comment. > > That problem only seems to happen when (thin) lto is enabled. > > > Repository: > rL LLVM > > CHANGES SINCE LAST ACTION > https://reviews.llvm.org

[Lldb-commits] [PATCH] D61686: Enable lldb-server on Windows

2019-05-08 Thread Saleem Abdulrasool via Phabricator via lldb-commits
compnerd added inline comments. Comment at: include/lldb/Host/windows/PosixApi.h:108 + // To be implemented. + return pid_t(-1); +} This should be out-of-lined. Furthermore, is there any place where the use requires process group handling? Otherwise, can't w

[Lldb-commits] [PATCH] D61686: Enable lldb-server on Windows

2019-05-08 Thread Adrian McCarthy via Phabricator via lldb-commits
amccarth marked an inline comment as done. amccarth added inline comments. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:220 +// In most cases the missing notifications do not affect lldb-server +// so we are temporarily relaxing the

[Lldb-commits] [PATCH] D54747: Discard debuginfo for object files empty after GC

2019-05-08 Thread Nico Weber via Phabricator via lldb-commits
thakis added a comment. That problem only seems to happen when (thin) lto is enabled. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D54747/new/ https://reviews.llvm.org/D54747 ___ lldb-commits mailing list lldb-commits

[Lldb-commits] [PATCH] D61686: Enable lldb-server on Windows

2019-05-08 Thread Hui Huang via Phabricator via lldb-commits
Hui added inline comments. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:220 +// In most cases the missing notifications do not affect lldb-server +// so we are temporarily relaxing the following for Windows. +#if !defined(_WIN32) ---

[Lldb-commits] [PATCH] D54747: Discard debuginfo for object files empty after GC

2019-05-08 Thread Nico Weber via Phabricator via lldb-commits
thakis added a comment. Hello, in a bit of a https://xkcd.com/1172/ moment this breaks the chromium/android build. We have a list of "resources" (strings, bitmaps, etc) that we list in an XML file which then generates a header with lots of "IDR_foo" constants. As it turns out, now all of these

[Lldb-commits] [PATCH] D61686: Enable lldb-server on Windows

2019-05-08 Thread Adrian McCarthy via Phabricator via lldb-commits
amccarth added inline comments. Comment at: source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp:220 +// In most cases the missing notifications do not affect lldb-server +// so we are temporarily relaxing the following for Windows. +#if !defined(_WIN32

[Lldb-commits] [PATCH] D61438: [ASTImporter] Use llvm::Expected and Error in the importer API

2019-05-08 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz added inline comments. Comment at: lldb/source/Symbol/ClangASTImporter.cpp:68 + return *ret_or_error; +} else { + Log *log = aprantl wrote: > The `else` is redundant. Here it's necessary for the scope of `ret_or_error`. That's a bit unfort

[Lldb-commits] [PATCH] D61611: [JITLoaderGDB] Set eTypeJIT for objects read from JIT descriptors

2019-05-08 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz marked 3 inline comments as done. sgraenitz added a comment. Thanks for your reply and thoughts about that. > I'd strongly encourage you to try to come up with a testing strategy here. Yes, I just added a simple lit test. What do you think? I ran it in isolation on macOS (`UNSUPPORTED`

[Lldb-commits] [PATCH] D61611: [JITLoaderGDB] Set eTypeJIT for objects read from JIT descriptors

2019-05-08 Thread Stefan Gränitz via Phabricator via lldb-commits
sgraenitz updated this revision to Diff 198692. sgraenitz added a comment. Herald added a reviewer: alexshap. Add lit test Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61611/new/ https://reviews.llvm.org/D61611 Files: lldb/lit/Breakpoint/Inputs

[Lldb-commits] [PATCH] D61483: [www] list command: lldb run

2019-05-08 Thread Jonas Devlieghere via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rLLDB360269: [Docs] list command: lldb run (authored by JDevlieghere, committed by ). Changed prior to commit: https://reviews.llvm.org/D61483?vs=198223&id=198686#toc Repository: rLLDB LLDB CHA

[Lldb-commits] [lldb] r360269 - [Docs] list command: lldb run

2019-05-08 Thread Jonas Devlieghere via lldb-commits
Author: jdevlieghere Date: Wed May 8 09:31:47 2019 New Revision: 360269 URL: http://llvm.org/viewvc/llvm-project?rev=360269&view=rev Log: [Docs] list command: lldb run The run command is only an abbreviation for the more verbose process launch -- but it works just as with GDB and therefore sho

[Lldb-commits] [PATCH] D61438: [ASTImporter] Use llvm::Expected and Error in the importer API

2019-05-08 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added inline comments. Comment at: clang/lib/AST/ASTImporter.cpp:5039 + if (!ToOrErr) +// FIXME: return the error? +consumeError(ToOrErr.takeError()); We don't typically commit FIXME's into LLVM code. Why not just deal wit

[Lldb-commits] [PATCH] D61686: Enable lldb-server on Windows

2019-05-08 Thread Aaron Smith via Phabricator via lldb-commits
asmith updated this revision to Diff 198675. asmith retitled this revision from "Disable pty redirection on Windows and add a method to get the parent pid" to "Enable lldb-server on Windows". asmith edited the summary of this revision. Herald added subscribers: mgorny, srhines. CHANGES SINCE LAST

[Lldb-commits] [PATCH] D61687: Update Python tests for lldb-server on Windows

2019-05-08 Thread Aaron Smith via Phabricator via lldb-commits
asmith created this revision. asmith added reviewers: labath, rnk. Herald added a reviewer: jfb. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. Repository: rLLDB LLDB https://reviews.llvm.org/D61687 Files: packages/Python/lldbsuite/test/dotest.py packages/Python/lld

[Lldb-commits] [PATCH] D61333: [ASTImporter] Fix LLDB lookup in transparent ctx and with ext src

2019-05-08 Thread Gabor Marton via Phabricator via lldb-commits
martong added a comment. Ping @shafik @teemperor Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61333/new/ https://reviews.llvm.org/D61333 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https

[Lldb-commits] [PATCH] D61686: Disable pty redirection on Windows and add a method to get the parent pid

2019-05-08 Thread Aaron Smith via Phabricator via lldb-commits
asmith created this revision. asmith added reviewers: labath, rnk. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. More changes for lldb-server on Windows - Disable pty redirection for Windows since there is no pty support currently - Add a method to get the parent pid for

[Lldb-commits] [PATCH] D61423: MinidumpYAML: add support for the ThreadList stream

2019-05-08 Thread Pavel Labath via Phabricator via lldb-commits
labath updated this revision to Diff 198653. labath marked 2 inline comments as done. labath added a comment. Address review comments. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61423/new/ https://reviews.llvm.org/D61423 Files: include/llvm/ObjectYAML/Minidu

[Lldb-commits] [PATCH] D61423: MinidumpYAML: add support for the ThreadList stream

2019-05-08 Thread Pavel Labath via Phabricator via lldb-commits
labath marked 9 inline comments as done. labath added inline comments. Comment at: include/llvm/ObjectYAML/MinidumpYAML.h:58 +/// streams with similar structure. +template +struct ListStream : public Stream { jhenderson wrote: > KindV and TypeV aren't clear name

[Lldb-commits] [PATCH] D61648: [DWARF] Centralize user_id <-> DWARFDIE conversions

2019-05-08 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. labath marked an inline comment as done. Closed by commit rL360246: [DWARF] Centralize user_id <-> DWARFDIE conversions (authored by labath, committed by ). Herald added a project: LLVM. Herald added a subscriber: llvm-commi

[Lldb-commits] [PATCH] D61648: [DWARF] Centralize user_id <-> DWARFDIE conversions

2019-05-08 Thread Pavel Labath via Phabricator via lldb-commits
labath marked 3 inline comments as done. labath added inline comments. Comment at: source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h:138-139 + DWARFDIE GetDIEFromUID(lldb::user_id_t uid); + lldb::user_id_t GetUIDFromDIE(DWARFBaseDIE die); + lldb::user_id_t GetUIDFromDIERef(DIE

[Lldb-commits] [lldb] r360246 - [DWARF] Centralize user_id <-> DWARFDIE conversions

2019-05-08 Thread Pavel Labath via lldb-commits
Author: labath Date: Wed May 8 04:43:05 2019 New Revision: 360246 URL: http://llvm.org/viewvc/llvm-project?rev=360246&view=rev Log: [DWARF] Centralize user_id <-> DWARFDIE conversions Summary: The logic for translating a user_id into a DWARFDIE was replicated in several places. This removes that

[Lldb-commits] [PATCH] D61438: [ASTImporter] Use llvm::Expected and Error in the importer API

2019-05-08 Thread Gabor Marton via Phabricator via lldb-commits
martong updated this revision to Diff 198623. martong added a comment. - Use LLDB_LOG_ERROR in ImportDefinitionTo Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61438/new/ https://reviews.llvm.org/D61438 Files: clang/include/clang/AST/ASTImporter

[Lldb-commits] [PATCH] D61438: [ASTImporter] Use llvm::Expected and Error in the importer API

2019-05-08 Thread Gabor Marton via Phabricator via lldb-commits
martong updated this revision to Diff 198618. martong added a comment. - Add braces to 'true' cases when 'false' case has braces - Simplify logging and error handling with LLDB_LOG_ERROR Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61438/new/ http

[Lldb-commits] [PATCH] D61483: [www] list command: lldb run

2019-05-08 Thread Konrad Kleine via Phabricator via lldb-commits
kkleine added a comment. @labath @jingham @teemperor I've updated the documentation in both, the new and the old places. Can you please merge this? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61483/new/ https://reviews.llvm.org/D61483 ___