[Lldb-commits] [lldb] 6ad3de3 - [lldb] Fix a new -Wdocumetnation issues (NFC)

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T22:59:13-07:00 New Revision: 6ad3de350c462399a02adccab7fc70de8ecd6224 URL: https://github.com/llvm/llvm-project/commit/6ad3de350c462399a02adccab7fc70de8ecd6224 DIFF: https://github.com/llvm/llvm-project/commit/6ad3de350c462399a02adccab7fc70de8ecd6224.d

[Lldb-commits] [lldb] e0b220d - [lldb] Remove redundant call to FindBacktrace (NFC)

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T22:41:49-07:00 New Revision: e0b220d22eed75b2a2a783ac45b832e961e77a9e URL: https://github.com/llvm/llvm-project/commit/e0b220d22eed75b2a2a783ac45b832e961e77a9e DIFF: https://github.com/llvm/llvm-project/commit/e0b220d22eed75b2a2a783ac45b832e961e77a9e.d

[Lldb-commits] [lldb] c1bc4fb - [lldb] Simplify CMake logic with LLVM's append_if function

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T22:35:31-07:00 New Revision: c1bc4fb95e37ade1256da8ea8db1030ae84705bd URL: https://github.com/llvm/llvm-project/commit/c1bc4fb95e37ade1256da8ea8db1030ae84705bd DIFF: https://github.com/llvm/llvm-project/commit/c1bc4fb95e37ade1256da8ea8db1030ae84705bd.d

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing reopened this revision. Higuoxing added a comment. This revision is now accepted and ready to land. This change is causing build failure, I'm going to revise this change. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83116/new/ https://re

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGf7ff0ace96db: [DWARFYAML] Add support for referencing different abbrev tables. (authored by Higuoxing). Repository: rG LLVM Github Monorepo CHANG

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing updated this revision to Diff 286945. Higuoxing added a comment. Rebase. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83116/new/ https://reviews.llvm.org/D83116 Files: llvm/include/llvm/ObjectYAML/DWARFYAML.h llvm/lib/ObjectYAML/DWA

[Lldb-commits] [lldb] c90ca0c - [lldb] Implement WorkingDirectoryProvider in terms of DirectoryProvider (NFC)

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T18:08:59-07:00 New Revision: c90ca0c8e4956e051e2f29cff0c38f9f03b32f87 URL: https://github.com/llvm/llvm-project/commit/c90ca0c8e4956e051e2f29cff0c38f9f03b32f87 DIFF: https://github.com/llvm/llvm-project/commit/c90ca0c8e4956e051e2f29cff0c38f9f03b32f87.d

[Lldb-commits] [lldb] 73af341 - [lldb] Capture and load home directory from the reproducer.

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T18:08:59-07:00 New Revision: 73af341beb8435c7da1dd5e7a8abacb2de6a236d URL: https://github.com/llvm/llvm-project/commit/73af341beb8435c7da1dd5e7a8abacb2de6a236d DIFF: https://github.com/llvm/llvm-project/commit/73af341beb8435c7da1dd5e7a8abacb2de6a236d.d

Re: [Lldb-commits] [lldb] a52173a - Use find_library for ncurses

2020-08-20 Thread Galina Kistanova via lldb-commits
Hello Jonas, Harmen, This commit broke one of our builders: http://lab.llvm.org:8011/builders/lld-perf-testsuite/builds/30809 . . . FAILED: bin/llvm-tblgen : && /usr/bin/c++ -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwri

[Lldb-commits] [PATCH] D86090: Make DWARFExpression::GetLocationExpression public

2020-08-20 Thread Derek Schuff via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG4e266eaf132f: Make DWARFExpression::GetLocationExpression public (authored by Eric, committed by dschuff). Herald added a project: LLDB. Herald added a subscriber: lldb-commits. Repository: rG LLVM Gith

[Lldb-commits] [lldb] 4e266ea - Make DWARFExpression::GetLocationExpression public

2020-08-20 Thread Derek Schuff via lldb-commits
Author: Eric Leese Date: 2020-08-20T15:12:28-07:00 New Revision: 4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092 URL: https://github.com/llvm/llvm-project/commit/4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092 DIFF: https://github.com/llvm/llvm-project/commit/4e266eaf132fa7e16eb6593dcfe4f4b9f55ea092.diff LO

[Lldb-commits] [lldb] ed17b6f - [lldb] Extract FileSystem initialization code into helper (NFC)

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T15:10:38-07:00 New Revision: ed17b6f6308f81273919532d422e3858d9a7c1da URL: https://github.com/llvm/llvm-project/commit/ed17b6f6308f81273919532d422e3858d9a7c1da DIFF: https://github.com/llvm/llvm-project/commit/ed17b6f6308f81273919532d422e3858d9a7c1da.d

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a comment. Hopefully this should be good to go, let me know if anyone has any issues. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86261/new/ https://reviews.llvm.org/D86261 ___ lldb-comm

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Greg Clayton via Phabricator via lldb-commits
clayborg updated this revision to Diff 286901. clayborg added a comment. Fixed: - Use a safer method to read the data we need for the .text section in case we need and extra 15 bytes. - Rephrase confusing comment Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://review

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added inline comments. Comment at: lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp:174 + // end of the .text section if the .text section is less than a page size in + // length. + const uint8_t *ptr = text_data.GetDataStart(); clayborg wrote

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added inline comments. Comment at: lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp:174 + // end of the .text section if the .text section is less than a page size in + // length. + const uint8_t *ptr = text_data.GetDataStart(); I will try and

[Lldb-commits] [lldb] 921c1b7 - [lldb] Provide GetHomeDirectory wrapper in Host::FileSystem (NFC)

2020-08-20 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-08-20T14:07:05-07:00 New Revision: 921c1b7df37d6f5353ed5fdffa117dcda0c941ba URL: https://github.com/llvm/llvm-project/commit/921c1b7df37d6f5353ed5fdffa117dcda0c941ba DIFF: https://github.com/llvm/llvm-project/commit/921c1b7df37d6f5353ed5fdffa117dcda0c941ba.d

[Lldb-commits] [PATCH] D84974: Enable Launching the Debugee in VSCode Terminal

2020-08-20 Thread walter erquinigo via Phabricator via lldb-commits
wallace commandeered this revision. wallace edited reviewers, added: aelitashen; removed: wallace. wallace added a comment. We found a very strange issue with lldb not stopping at any breakpoint after attaching. I'll figure that out Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTI

[Lldb-commits] [PATCH] D84974: Enable Launching the Debugee in VSCode Terminal

2020-08-20 Thread Yifan Shen via Phabricator via lldb-commits
aelitashen updated this revision to Diff 286885. aelitashen added a comment. @Walter Please help me fix the tests. Looks like in the new added runInTerminal tests, it cannot hit the breakpoint and capture the local variable. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION htt

[Lldb-commits] [PATCH] D86311: Fix how ValueObjectVariable handles DW_AT_const_value when the DWARFExpression holds the data that represents a constant value

2020-08-20 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl added a comment. The code looks fine, I think the test needs an extra REQUIRES. Comment at: lldb/source/Core/ValueObjectVariable.cpp:137 + if (m_data.GetDataStart() && m_data.GetByteSize()) +m_value.SetBytes(m_data.GetDataStart(), m_data.GetByteSize());

[Lldb-commits] [PATCH] D80693: [lldb] tab completion for breakpoint names

2020-08-20 Thread Raphael Isemann via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rG22e63cba17e5: [lldb] tab completion for breakpoint names (authored by MrHate, committed by teemperor). Herald added a subs

[Lldb-commits] [lldb] 22e63cb - [lldb] tab completion for breakpoint names

2020-08-20 Thread Raphael Isemann via lldb-commits
Author: Gongyu Deng Date: 2020-08-20T20:56:34+02:00 New Revision: 22e63cba17e5e6266b9251e3fb7032b793143d09 URL: https://github.com/llvm/llvm-project/commit/22e63cba17e5e6266b9251e3fb7032b793143d09 DIFF: https://github.com/llvm/llvm-project/commit/22e63cba17e5e6266b9251e3fb7032b793143d09.diff L

[Lldb-commits] [PATCH] D86311: Fix how ValueObjectVariable handles DW_AT_const_value when the DWARFExpression holds the data that represents a constant value

2020-08-20 Thread Shafik Yaghmour via Phabricator via lldb-commits
shafik created this revision. shafik added reviewers: aprantl, friss, labath, jingham, vsk. shafik requested review of this revision. Herald added a reviewer: jdoerfert. Herald added a subscriber: sstefan1. In some cases when we have a `DW_AT_const_value` and the data can be found in the `DWARFEx

[Lldb-commits] [lldb] 0de3d0c - [lldb][asan] Mark destructor as virtual to allow subclasses.

2020-08-20 Thread Jordan Rupprecht via lldb-commits
Author: Jordan Rupprecht Date: 2020-08-20T09:21:33-07:00 New Revision: 0de3d0c61266675cd5e688a09e02124518e01935 URL: https://github.com/llvm/llvm-project/commit/0de3d0c61266675cd5e688a09e02124518e01935 DIFF: https://github.com/llvm/llvm-project/commit/0de3d0c61266675cd5e688a09e02124518e01935.di

[Lldb-commits] [PATCH] D86292: [LLDB][RISCV] Distinguish between riscv32 and riscv64 based on ELF class

2020-08-20 Thread Luís Marques via Phabricator via lldb-commits
luismarques created this revision. luismarques added reviewers: asb, lenary, clayborg, jasonmolenda, simoncook. Herald added subscribers: lldb-commits, evandro, apazos, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, atanasyan, edw

[Lldb-commits] [PATCH] D62732: [RISCV] Add SystemV ABI

2020-08-20 Thread Simon Cook via Phabricator via lldb-commits
simoncook updated this revision to Diff 286749. simoncook added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62732/new/ https://reviews.llvm.org/D62732 Files: lldb/include/lldb/Utility/ArchSpec.h lldb/source/Plugins/ABI/CMak

[Lldb-commits] [PATCH] D86220: [lldb/Utility] Simplify Scalar handling of float types

2020-08-20 Thread Pavel Labath via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. labath marked an inline comment as done. Closed by commit rG8a8a2dd3165e: [lldb/Utility] Simplify Scalar handling of float types (authored by labath). Changed prior to

[Lldb-commits] [lldb] 8a8a2dd - [lldb/Utility] Simplify Scalar handling of float types

2020-08-20 Thread Pavel Labath via lldb-commits
Author: Pavel Labath Date: 2020-08-20T16:26:02+02:00 New Revision: 8a8a2dd3165e63b29e725526745427c6434f0654 URL: https://github.com/llvm/llvm-project/commit/8a8a2dd3165e63b29e725526745427c6434f0654 DIFF: https://github.com/llvm/llvm-project/commit/8a8a2dd3165e63b29e725526745427c6434f0654.diff

[Lldb-commits] [PATCH] D86220: [lldb/Utility] Simplify Scalar handling of float types

2020-08-20 Thread Pavel Labath via Phabricator via lldb-commits
labath marked an inline comment as done. labath added inline comments. Comment at: lldb/source/Utility/Scalar.cpp:68 +Scalar::PromotionKey Scalar::GetFloatPromoKey(const llvm::fltSemantics &sem) { + static const llvm::fltSemantics *order[] = {&APFloat::IEEEsingle(), +

[Lldb-commits] [PATCH] D86216: [lldb] Forcefully complete a type when adding typedefs

2020-08-20 Thread Pavel Labath via Phabricator via lldb-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG9109311356cc: [lldb] Forcefully complete a type when adding typedefs (authored by labath). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST

[Lldb-commits] [lldb] 9109311 - [lldb] Forcefully complete a type when adding typedefs

2020-08-20 Thread Pavel Labath via lldb-commits
Author: Pavel Labath Date: 2020-08-20T15:19:10+02:00 New Revision: 9109311356cc9e74818dd7450020d9b85d2f8125 URL: https://github.com/llvm/llvm-project/commit/9109311356cc9e74818dd7450020d9b85d2f8125 DIFF: https://github.com/llvm/llvm-project/commit/9109311356cc9e74818dd7450020d9b85d2f8125.diff

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Pavel Labath via Phabricator via lldb-commits
labath added a subscriber: markmentovai. labath added a comment. Also, +@markmentovai, in case he has any thoughts on this. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86261/new/ https://reviews.llvm.org/D86261 __

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. This has been a feature we've been missing for a while. Thanks for implementing it. Just two quick requests on the implementation. Comment at: lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp:171-174 + // This code carefully duplicates how the

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread James Henderson via Phabricator via lldb-commits
jhenderson accepted this revision. jhenderson added a comment. This revision is now accepted and ready to land. LGTM. Thanks! Comment at: llvm/test/tools/yaml2obj/ELF/DWARF/debug-info.yaml:658 + +# NOTABLE: yaml2obj: error: abbrev table index must be less than or equal to the

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing added inline comments. Comment at: llvm/lib/ObjectYAML/DWARFEmitter.cpp:306-313 + Optional AbbrevTableIndex = + DS.getAbbrevTableIndexByID(AbbrevTableID); + if (!AbbrevTableIndex) +return createStringError(errc::invalid_argument, +

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing updated this revision to Diff 286780. Higuoxing marked 11 inline comments as done. Higuoxing added a comment. Address comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83116/new/ https://reviews.llvm.org/D83116 Files: llvm/includ

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread James Henderson via Phabricator via lldb-commits
jhenderson added a comment. I'm not sure if my test comments have been looked at. Could you mark them as Done if you think you have addressed them, please? Comment at: llvm/include/llvm/ObjectYAML/DWARFYAML.h:234-237 + Expected getAbbrevTableIndexByID(uint64_t ID); + +private

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing added inline comments. Comment at: llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml:426 #CHECK: Form:DW_FORM_ref4 + + I will remove this blank line later. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION http

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing added inline comments. Comment at: llvm/include/llvm/ObjectYAML/DWARFEmitter.h:34 +private: + Data &DWARF; + std::map AbbrevID2Index; jhenderson wrote: > Higuoxing wrote: > > labath wrote: > > > jhenderson wrote: > > > > Would it make any sense to mer

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing updated this revision to Diff 286755. Higuoxing marked 10 inline comments as done. Higuoxing added a comment. Merge `DWARFYAML::Data` and `DWARFYAML::DWARFState`. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D83116/new/ https://reviews.ll

[Lldb-commits] [PATCH] D83116: [DWARFYAML] Add support for referencing different abbrev tables.

2020-08-20 Thread James Henderson via Phabricator via lldb-commits
jhenderson added inline comments. Comment at: llvm/include/llvm/ObjectYAML/DWARFEmitter.h:34 +private: + Data &DWARF; + std::map AbbrevID2Index; Higuoxing wrote: > labath wrote: > > jhenderson wrote: > > > Would it make any sense to merge the `DWARFYAML::Data`

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread walter erquinigo via Phabricator via lldb-commits
wallace accepted this revision. wallace added inline comments. This revision is now accepted and ready to land. Comment at: lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp:559-560 if (!match) { + // Breakpad might put a hash of the up to the first page

[Lldb-commits] [PATCH] D86261: Add hashing of the .text section to ProcessMinidump.

2020-08-20 Thread James Henderson via Phabricator via lldb-commits
jhenderson resigned from this revision. jhenderson added a comment. I'm not an LLDB developer, so probably not the right person to review this, sorry. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86261/new/ https://reviews.llvm.org/D86261 __