[Lldb-commits] [PATCH] D82378: [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented

2020-06-26 Thread Jason Molenda via Phabricator via lldb-commits
jasonmolenda accepted this revision. jasonmolenda added a comment. Sorry yes this patch is fine. To be honest, on x86_64 at least, as you've pointed out, maybe we should just live on eh_frame completely without going through any of these augmentation checks at all. AFAIK gdb is living off of

[Lldb-commits] [PATCH] D82622: [DWARFYAML][debug_info] Replace 'InitialLength' with 'Format' and 'Length'.

2020-06-26 Thread James Henderson via Phabricator via lldb-commits
jhenderson added a comment. LGTM. Well done on catching the lldb failures - I don't even build lldb by default personally. Comment at: llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml:515 -#CHECK: DWARF: -#CHECK: debug_info: -#CHECK: - Length:

[Lldb-commits] [PATCH] D82622: [DWARFYAML][debug_info] Replace 'InitialLength' with 'Format' and 'Length'.

2020-06-26 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing marked an inline comment as done. Higuoxing added a comment. Thanks for reviewing! Comment at: llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml:515 -#CHECK: DWARF: -#CHECK: debug_info: -#CHECK: - Length: -#CHECK: TotalLength:

[Lldb-commits] [PATCH] D82396: [lldb/ScriptInterpreter] Extract IO redirection logic and move it out of ScriptInterpreterPython (NFC)

2020-06-26 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: lldb/include/lldb/Interpreter/ScriptInterpreter.h:57-58 private: + friend std::unique_ptr + std::make_unique(); + labath wrote: > If that works, I suppose it's fine. But I wouldn't be surprised if this trick > backfir

[Lldb-commits] [PATCH] D82622: [DWARFYAML][debug_info] Replace 'InitialLength' with 'Format' and 'Length'.

2020-06-26 Thread Xing GUO via Phabricator via lldb-commits
Higuoxing updated this revision to Diff 273632. Higuoxing marked 2 inline comments as done. Higuoxing added a comment. Address comments. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D82622/new/ https://reviews.llvm.org/D82622 Files: lldb/test/AP

[Lldb-commits] [lldb] 5ed8765 - [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented

2020-06-26 Thread Pavel Labath via lldb-commits
Author: Pavel Labath Date: 2020-06-26T11:46:47+02:00 New Revision: 5ed8765e2f007e56a34e3aa0ab01f65c5aaa7e27 URL: https://github.com/llvm/llvm-project/commit/5ed8765e2f007e56a34e3aa0ab01f65c5aaa7e27 DIFF: https://github.com/llvm/llvm-project/commit/5ed8765e2f007e56a34e3aa0ab01f65c5aaa7e27.diff

[Lldb-commits] [lldb] ce275d3 - [lldb] Rewrite Scalar::Promote

2020-06-26 Thread Pavel Labath via lldb-commits
Author: Pavel Labath Date: 2020-06-26T11:46:47+02:00 New Revision: ce275d3030a9dfcf9c55c81b88ae1b2c88f1828f URL: https://github.com/llvm/llvm-project/commit/ce275d3030a9dfcf9c55c81b88ae1b2c88f1828f DIFF: https://github.com/llvm/llvm-project/commit/ce275d3030a9dfcf9c55c81b88ae1b2c88f1828f.diff

[Lldb-commits] [PATCH] D74136: [LLDB] WIP: Follow DW_AT_decl_file when setting breakpoint

2020-06-26 Thread Jan Kratochvil via Phabricator via lldb-commits
jankratochvil added inline comments. Comment at: lldb/source/Breakpoint/BreakpointResolverName.cpp:323 + // passing. + remove_it = false; + } Now `if (filter_by_function) {}` always overrides any result from `if (filter_by_cu)`. So it woul

[Lldb-commits] [PATCH] D74136: [LLDB] WIP: Follow DW_AT_decl_file when setting breakpoint

2020-06-26 Thread Konrad Wilhelm Kleine via Phabricator via lldb-commits
kwk marked 2 inline comments as done. kwk added inline comments. Comment at: lldb/source/Breakpoint/BreakpointResolverName.cpp:323 + // passing. + remove_it = false; + } jankratochvil wrote: > Now `if (filter_by_function) {}` always overrid

[Lldb-commits] [PATCH] D74136: [LLDB] WIP: Follow DW_AT_decl_file when setting breakpoint

2020-06-26 Thread Jan Kratochvil via Phabricator via lldb-commits
jankratochvil added inline comments. Comment at: lldb/source/Core/SearchFilter.cpp:829 + m_target_sp->GetInlineStrategy() == eInlineBreakpointsHeaders) +return flags | eSymbolContextCompUnit; + return flags; `filter_by_function` now fully overrides `fil

[Lldb-commits] [PATCH] D74136: [LLDB] WIP: Follow DW_AT_decl_file when setting breakpoint

2020-06-26 Thread Konrad Wilhelm Kleine via Phabricator via lldb-commits
kwk updated this revision to Diff 273637. kwk added a comment. - Simplify logic Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74136/new/ https://reviews.llvm.org/D74136 Files: lldb/include/lldb/Core/SearchFilter.h lldb/include/lldb/Target/Targ

[Lldb-commits] [PATCH] D82378: [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented

2020-06-26 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG5ed8765e2f00: [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented (authored by labath). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.or

[Lldb-commits] [lldb] 048d11d - [lldb][NFC] Make TestDollarInVariable a non-inline test

2020-06-26 Thread Raphael Isemann via lldb-commits
Author: Raphael Isemann Date: 2020-06-26T12:56:22+02:00 New Revision: 048d11de43be087fd2fa0c5e35f20486f6094c29 URL: https://github.com/llvm/llvm-project/commit/048d11de43be087fd2fa0c5e35f20486f6094c29 DIFF: https://github.com/llvm/llvm-project/commit/048d11de43be087fd2fa0c5e35f20486f6094c29.dif

[Lldb-commits] [PATCH] D82622: [DWARFYAML][debug_info] Replace 'InitialLength' with 'Format' and 'Length'.

2020-06-26 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. Forgot to mark as accepted before, but one more comment to add. Comment at: llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml:515 -#CHECK: DWARF: -#CHECK:

[Lldb-commits] [lldb] 754f3c4 - Fix implicit Twine.h include dependency.

2020-06-26 Thread Simon Pilgrim via lldb-commits
Author: Simon Pilgrim Date: 2020-06-26T13:24:32+01:00 New Revision: 754f3c4af4b8526d7576c8e92959ad10d40b6e2e URL: https://github.com/llvm/llvm-project/commit/754f3c4af4b8526d7576c8e92959ad10d40b6e2e DIFF: https://github.com/llvm/llvm-project/commit/754f3c4af4b8526d7576c8e92959ad10d40b6e2e.diff

[Lldb-commits] [lldb] bb91520 - [lldb] Re-add X-Fail for Windows to TestDollarInVariable

2020-06-26 Thread Raphael Isemann via lldb-commits
Author: Raphael Isemann Date: 2020-06-26T15:24:15+02:00 New Revision: bb91520e4fe89ad35bc89578601bf1c35bd9d2fc URL: https://github.com/llvm/llvm-project/commit/bb91520e4fe89ad35bc89578601bf1c35bd9d2fc DIFF: https://github.com/llvm/llvm-project/commit/bb91520e4fe89ad35bc89578601bf1c35bd9d2fc.dif

[Lldb-commits] [PATCH] D82259: Deprecate error prone temporary directory APIs

2020-06-26 Thread David Zarzycki via Phabricator via lldb-commits
davezarzycki abandoned this revision. davezarzycki added a comment. Now that my core concern is addressed (moving clang's default module cache out of /tmp), I don't have the time to push for this deprecation. Sorry. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://revi

[Lldb-commits] [lldb] b4180fe - [lldb/Test] Disable eh-frame-augment-noop.test on macOS

2020-06-26 Thread Jonas Devlieghere via lldb-commits
Author: Jonas Devlieghere Date: 2020-06-26T15:59:59-07:00 New Revision: b4180fe477bfe302778aaceee65faf69c5e7be76 URL: https://github.com/llvm/llvm-project/commit/b4180fe477bfe302778aaceee65faf69c5e7be76 DIFF: https://github.com/llvm/llvm-project/commit/b4180fe477bfe302778aaceee65faf69c5e7be76.d

[Lldb-commits] [PATCH] D82378: [lldb/Unwind] Use eh_frame plan directly when it doesn't need to be augmented

2020-06-26 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: lldb/test/Shell/Unwind/eh-frame-augment-noop.test:18 +target modules show-unwind -n foo +# CHECK: Asynchronous (not restricted to call-sites) UnwindPlan is 'eh_frame CFI' +# CHECK: eh_frame augmented UnwindPlan: On