Re: [Lldb-commits] [PATCH] D17420: Don't use an atexit handler for cleaning up process specific temp dir

2016-02-19 Thread Pavel Labath via lldb-commits
labath accepted this revision. labath added a comment. So, linux actually manages to invoke the atexit handlers (through some deep magic, no doubt) upon shared library unload, so we are ok here (plus linux likes to nuke /tmp after every reboot). LGTM, with a small RAII request. ===

[Lldb-commits] [lldb] r261313 - Mark TestLldbGdbServer.test_software_breakpoint_set_and_remove_work_llgs as flaky on linux

2016-02-19 Thread Pavel Labath via lldb-commits
Author: labath Date: Fri Feb 19 04:36:31 2016 New Revision: 261313 URL: http://llvm.org/viewvc/llvm-project?rev=261313&view=rev Log: Mark TestLldbGdbServer.test_software_breakpoint_set_and_remove_work_llgs as flaky on linux The problem is the asynchronous arrival of inferior stdio (pr25652). Mo

[Lldb-commits] [lldb] r261314 - Enable TestUnicodeLiterals

2016-02-19 Thread Pavel Labath via lldb-commits
Author: labath Date: Fri Feb 19 04:36:38 2016 New Revision: 261314 URL: http://llvm.org/viewvc/llvm-project?rev=261314&view=rev Log: Enable TestUnicodeLiterals Test should work everywhere except windows now. Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/TestU

[Lldb-commits] [lldb] r261318 - Stack unwinding emulation: handle adjustment of FP

2016-02-19 Thread Tamas Berghammer via lldb-commits
Author: tberghammer Date: Fri Feb 19 04:59:25 2016 New Revision: 261318 URL: http://llvm.org/viewvc/llvm-project?rev=261318&view=rev Log: Stack unwinding emulation: handle adjustment of FP This change is improving the instruction emulation based unwinding to handle when the frame pointer is adjus

Re: [Lldb-commits] [PATCH] D17295: Stack unwinding emulation: handle adjustment of FP

2016-02-19 Thread Tamas Berghammer via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261318: Stack unwinding emulation: handle adjustment of FP (authored by tberghammer). Changed prior to commit: http://reviews.llvm.org/D17295?vs=48078&id=48472#toc Repository: rL LLVM http://reviews

Re: [Lldb-commits] [PATCH] D17266: delete unused function in ClangExpressionParser`

2016-02-19 Thread Ewan Crawford via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261328: Delete unused function in ClangExpressionParser (authored by EwanCrawford). Changed prior to commit: http://reviews.llvm.org/D17266?vs=47980&id=48484#toc Repository: rL LLVM http://reviews.l

[Lldb-commits] [lldb] r261328 - Delete unused function in ClangExpressionParser

2016-02-19 Thread Ewan Crawford via lldb-commits
Author: ewancrawford Date: Fri Feb 19 08:31:41 2016 New Revision: 261328 URL: http://llvm.org/viewvc/llvm-project?rev=261328&view=rev Log: Delete unused function in ClangExpressionParser [git 65dafa83] introduced the GetBuiltinIncludePath function copied from cfe/lib/Driver/CC1Options.cpp This

Re: [Lldb-commits] [PATCH] D17167: Fix bug with register values byte order in expression evaluation

2016-02-19 Thread Marianne Mailhot-Sarrasin via lldb-commits
mamai updated this revision to Diff 48486. mamai added a comment. I have updated the patch to add the assertion. Repository: rL LLVM http://reviews.llvm.org/D17167 Files: source/Expression/Materializer.cpp Index: source/Expression/Materializer.cpp =

[Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-19 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clay.chang. tberghammer added a subscriber: lldb-commits. Herald added subscribers: danalbert, tberghammer. Handle the case when a variable is only valid in part of the enclosing scope DWARF stores this information in the DW

[Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-19 Thread Tamas Berghammer via lldb-commits
tberghammer created this revision. tberghammer added reviewers: ovyalov, clayborg. tberghammer added a subscriber: lldb-commits. Add support for handling absolute symbols in ELF Most address represented in lldb as section plus offset and handling of absolute addresses is problematic in several lo

[Lldb-commits] [lldb] r261333 - Remove XFAIL from test passing on FreeBSD

2016-02-19 Thread Ed Maste via lldb-commits
Author: emaste Date: Fri Feb 19 10:58:08 2016 New Revision: 261333 URL: http://llvm.org/viewvc/llvm-project?rev=261333&view=rev Log: Remove XFAIL from test passing on FreeBSD Both Linux and FreeBSD had a comment "This needs to be root-caused." It looks like the failure has been fixed on both, and

[Lldb-commits] [lldb] r261339 - Remove XFAIL from test passing on FreeBSD

2016-02-19 Thread Ed Maste via lldb-commits
Author: emaste Date: Fri Feb 19 11:31:05 2016 New Revision: 261339 URL: http://llvm.org/viewvc/llvm-project?rev=261339&view=rev Log: Remove XFAIL from test passing on FreeBSD This is passing for me consistently on FreeBSD 10 and FreeBSD 11. llvm.org/pr15989 Modified: lldb/trunk/packages/Py

[Lldb-commits] [lldb] r261340 - Remove XFAIL from test passing on FreeBSD

2016-02-19 Thread Ed Maste via lldb-commits
Author: emaste Date: Fri Feb 19 11:35:01 2016 New Revision: 261340 URL: http://llvm.org/viewvc/llvm-project?rev=261340&view=rev Log: Remove XFAIL from test passing on FreeBSD There is a report in the PR from several months ago that it failed intermittently, but it is passing consistently for me o

[Lldb-commits] [PATCH] D17455: Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Ed Maste via lldb-commits
emaste created this revision. emaste added a reviewer: zturner. emaste added a subscriber: lldb-commits. All invocations are updated to use the generic expectedFailureAll. http://reviews.llvm.org/D17455 Files: packages/Python/lldbsuite/test/decorators.py packages/Python/lldbsuite/test/expr

[Lldb-commits] [lldb] r261345 - refactor/cleanup ClangExpressionParser::Parse

2016-02-19 Thread Ewan Crawford via lldb-commits
Author: ewancrawford Date: Fri Feb 19 11:55:10 2016 New Revision: 261345 URL: http://llvm.org/viewvc/llvm-project?rev=261345&view=rev Log: refactor/cleanup ClangExpressionParser::Parse This patches does the following: + fix return type: ClangExpressionParser::Parse returns unsigned, but was act

Re: [Lldb-commits] [PATCH] D17273: refactor/cleanup ClangExpressionParser::Parse

2016-02-19 Thread Ewan Crawford via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261345: refactor/cleanup ClangExpressionParser::Parse (authored by EwanCrawford). Changed prior to commit: http://reviews.llvm.org/D17273?vs=48002&id=48507#toc Repository: rL LLVM http://reviews.llv

Re: [Lldb-commits] [PATCH] D17455: Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py:26-27 @@ -25,4 +25,4 @@ @skipIfFreeBSD # llvm.org/pr24691 skipping to avoid crashing the test runner -@expectedFailureFreeBSD('llvm.org/pr19011') #

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Greg Clayton via lldb-commits
clayborg added a comment. General things to know about SymbolFiles: - We use SymbolContext objects to refer to a specific symbol context: module, compile unit, function, deepest block, line entry and symbol. - A load address should produce 1 symbol context. Never more. - A file address can produ

Re: [Lldb-commits] [PATCH] D17449: Handle the case when a variable is only valid in part of the enclosing scope

2016-02-19 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. DWARF already has support for this using location lists. I would rather see this done by having the DWARF parser modify the DWARF expression to be a location list based. I don't

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Zachary Turner via lldb-commits
On Fri, Feb 19, 2016 at 10:43 AM Greg Clayton wrote: > > We should be covering this using API tests that make an example like the > one above and setting breakpoints in the inline header file. We have many > tests for this. It is hard to get compilers to generate things that you can > put in unit

[Lldb-commits] [lldb] r261353 - Don't use an atexit handler for cleaning up the temp directory.

2016-02-19 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Feb 19 13:20:44 2016 New Revision: 261353 URL: http://llvm.org/viewvc/llvm-project?rev=261353&view=rev Log: Don't use an atexit handler for cleaning up the temp directory. Differential Revision: http://reviews.llvm.org/D17420 Modified: lldb/trunk/include/lldb/Host/H

Re: [Lldb-commits] [PATCH] D17420: Don't use an atexit handler for cleaning up process specific temp dir

2016-02-19 Thread Zachary Turner via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261353: Don't use an atexit handler for cleaning up the temp directory. (authored by zturner). Changed prior to commit: http://reviews.llvm.org/D17420?vs=48414&id=48528#toc Repository: rL LLVM http:

Re: [Lldb-commits] [PATCH] D17455: Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Ed Maste via lldb-commits
emaste updated this revision to Diff 48529. emaste added a comment. Address zturner feedback http://reviews.llvm.org/D17455 Files: packages/Python/lldbsuite/test/decorators.py packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py packages/Python/lld

Re: [Lldb-commits] [PATCH] D17455: Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Ed Maste via lldb-commits
emaste added inline comments. Comment at: packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py:26-27 @@ -25,5 +25,4 @@ @skipIfFreeBSD # llvm.org/pr24691 skipping to avoid crashing the test runner -@expectedFailureFreeBSD('llvm.org/pr19011') # N

[Lldb-commits] [lldb] r261355 - Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Ed Maste via lldb-commits
Author: emaste Date: Fri Feb 19 13:25:03 2016 New Revision: 261355 URL: http://llvm.org/viewvc/llvm-project?rev=261355&view=rev Log: Remove expectedFailureFreeBSD decorator All invocations are updated to use the generic expectedFailureAll. Differential Revision: http://reviews.llvm.org/D17455

Re: [Lldb-commits] [PATCH] D17455: Remove expectedFailureFreeBSD decorator

2016-02-19 Thread Ed Maste via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL261355: Remove expectedFailureFreeBSD decorator (authored by emaste). Changed prior to commit: http://reviews.llvm.org/D17455?vs=48529&id=48533#toc Repository: rL LLVM http://reviews.llvm.org/D17455

[Lldb-commits] [lldb] r261356 - Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes.

2016-02-19 Thread Eugene Zelenko via lldb-commits
Author: eugenezelenko Date: Fri Feb 19 13:33:46 2016 New Revision: 261356 URL: http://llvm.org/viewvc/llvm-project?rev=261356&view=rev Log: Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes. Modified: lldb/trunk/source

Re: [Lldb-commits] [lldb] r261356 - Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes.

2016-02-19 Thread Jim Ingham via lldb-commits
Please don't make this sort of change. With the code as originally written, I can set a breakpoint on the returns "true" or "false" case separately, and stop there if I am doing that experiment, whereas your change makes that impossible. Neither one is particularly harder to read than the othe

Re: [Lldb-commits] [lldb] r261356 - Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes.

2016-02-19 Thread Eugene Zelenko via lldb-commits
On Fri, Feb 19, 2016 at 12:33 PM, Jim Ingham wrote: > Please don't make this sort of change. With the code as originally written, > I can set a breakpoint on the returns "true" or "false" case separately, and > stop there if I am doing that experiment, whereas your change makes that > impossib

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Zachary Turner via lldb-commits
zturner marked 6 inline comments as done. Comment at: source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:82-83 @@ +81,4 @@ +auto error = llvm::loadDataForEXE(llvm::PDB_ReaderType::DIA, llvm::StringRef(exePath), m_session); +if (error != llvm::PDB_ErrorCode::Success)

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Zachary Turner via lldb-commits
zturner updated this revision to Diff 48544. zturner added a comment. This should address all (I think) issues except for the one about `check_inlines`, which I'll do in a followup. Can you respond to my comment in a previous update about the uniqueness / index-ness of the comp_unit id? http:

Re: [Lldb-commits] [PATCH] D17450: Add support for handling absolute symbols in ELF

2016-02-19 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. We should probably make it such that if a section has the type eSectionTypeAbsoluteAddress that we do the right thing inside the following functions: Section::GetLoadBaseAddress

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:150 @@ +149,3 @@ +return TranslateLanguage(details->getLanguage()); +} + Ahh i see the problem. The problem is not the value Im' specifying for the id of the compile u

Re: [Lldb-commits] [PATCH] D17363: Add SymbolFilePDB with basic support for line tables.

2016-02-19 Thread Greg Clayton via lldb-commits
clayborg requested changes to this revision. clayborg added a comment. This revision now requires changes to proceed. So your LineTable::Entry objects that you create are still invalid since you didn't implement the support files. All comments became unaligned but you did comment that: > In Com

Re: [Lldb-commits] [PATCH] D17425: Use shallow clones in build-llvm.py.

2016-02-19 Thread Todd Fiala via lldb-commits
tfiala added a reviewer: spyffe. tfiala added a comment. +Sean Sean, I'm okay with this for now. You know my changes coming down the pipe, and I can add a configuration setting for the git side that lets us optionally add in the history truncation. Thoughts? http://reviews.llvm.org/D17425

Re: [Lldb-commits] [PATCH] D17425: Use shallow clones in build-llvm.py.

2016-02-19 Thread Todd Fiala via lldb-commits
tfiala added a comment. (Stephane, I've got a change in the works that is currently backed up behind some other things, but it allows better mapping of Xcode lldb configuration to llvm/clang configuration, and includes specifying if svn or git should be used. It will actually default to svn.

[Lldb-commits] [PATCH] D17465: Get register context for the 32-bit process in a WoW64 process minidump.

2016-02-19 Thread Adrian McCarthy via lldb-commits
amccarth created this revision. amccarth added a reviewer: zturner. amccarth added a subscriber: lldb-commits. 32-bit processes on 64-bit Windows run in a layer called WoW64 (Windows-on-Windows64). If you capture a mini dump of such a process from a 32-bit debugger, you end up with a register c

Re: [Lldb-commits] [PATCH] D17465: Get register context for the 32-bit process in a WoW64 process minidump.

2016-02-19 Thread Zachary Turner via lldb-commits
zturner added a comment. I'll have to look at this more carefully next week. I'm guessing the same logic can eventually be re-used to live debug a 32-bit process from a 64-bit LLDB? (Not that you have to address that now, just curious) http://reviews.llvm.org/D17465 __

Re: [Lldb-commits] [PATCH] D17465: Get register context for the 32-bit process in a WoW64 process minidump.

2016-02-19 Thread Zachary Turner via lldb-commits
zturner added inline comments. Comment at: source/Plugins/Process/Windows/MiniDump/ProcessWinMiniDump.cpp:192 @@ +191,3 @@ +// only about the position of the TlsSlots. +struct TEB64 { +ULONG64 Reserved1[12]; I think this structure should go in a different head

[Lldb-commits] [lldb] r261389 - Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes.

2016-02-19 Thread Eugene Zelenko via lldb-commits
Author: eugenezelenko Date: Fri Feb 19 18:58:29 2016 New Revision: 261389 URL: http://llvm.org/viewvc/llvm-project?rev=261389&view=rev Log: Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes. Modified: lldb/trunk/source

[Lldb-commits] LLVM buildmaster restarted in few minutes.

2016-02-19 Thread Galina Kistanova via lldb-commits
Hello everyone, LLVM buildmaster will be updated and restarted in few minutes. Thank you for understanding. Thanks Galina ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits