[all-commits] [llvm/llvm-project] 2e6a0a: [lldb] Load the fblldb module automatically
Danil Stefaniuc via All-commits
all-commits at lists.llvm.org
Mon Nov 22 13:08:52 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e6a0a8b81d7be948491ce39d241695dc1385429
https://github.com/llvm/llvm-project/commit/2e6a0a8b81d7be948491ce39d241695dc1385429
Author: Walter Erquinigo <waltermelon at fb.com>
Date: 2021-11-22 (Mon, 22 Nov 2021)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
Log Message:
-----------
[lldb] Load the fblldb module automatically
Summary:
```
// Facebook only:
// We want to load automatically the fblldb python module as soon as lldb or
// lldb-vscode start. This will ensure that logging and formatters are enabled
// by default.
//
// As we want to have a mechanism for not triggering this by default, if the
// user is starting lldb disabling .lldbinit support, then we also don't load
// this module. This is equivalent to appending this line to all .lldbinit
// files.
//
// We don't have the fblldb module on windows, so we don't include it for that
// build.
```
Test Plan:
the fbsymbols module is loaded automatically
```
./bin/lldb
(lldb) help fbsymbols
Facebook {mini,core}dump utility. Expects 'raw' input (see 'help raw-input'.)
```
Reviewers: wanyi
Reviewed By: wanyi
Subscribers: mnovakovic, serhiyr, phabricatorlinter
Differential Revision: https://phabricator.intern.facebook.com/D29372804
Tags: accept2ship
Signature: 29372804:1624567770:07836e50e576bd809124ed80a6bc01082190e48f
[lldb] Load fblldbinit instead of fblldb
Summary: Once accepted, it'll merge it with the existing commit in our branch so that we keep the commit list as short as possible.
Test Plan: https://www.internalfb.com/diff/D30293094
Reviewers: aadsm, wanyi
Reviewed By: aadsm
Subscribers: mnovakovic, serhiyr
Differential Revision: https://phabricator.intern.facebook.com/D30293211
Tags: accept2ship
Signature: 30293211:1628880953:423e2e543cade107df69da0ebf458e581e54ae3a
Commit: fcd288b52aa708e061ad633c8efa1183a7e6b926
https://github.com/llvm/llvm-project/commit/fcd288b52aa708e061ad633c8efa1183a7e6b926
Author: Danil Stefaniuc <danilashtefan at gmail.com>
Date: 2021-11-22 (Mon, 22 Nov 2021)
Changed paths:
M lldb/examples/synthetic/gnu_libstdcpp.py
M lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/Makefile
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/TestDataFormatterGenericUnordered.py
A lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered/main.cpp
R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/Makefile
R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py
R lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/main.cpp
Log Message:
-----------
[formatters] Add a libstdcpp formatter for for unordered_map, unordered_set, unordered_multimap, unordered_multiset
This diff adds a data formatter and tests for libstdcpp's unordered_map, unordered_set, unordered_multimap, unordered_multiset
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D113760
Compare: https://github.com/llvm/llvm-project/compare/65b82b928ee5...fcd288b52aa7
More information about the All-commits
mailing list