Skip to content

Commit 77f48e6

Browse files
committed
Rebase and format
1 parent 00471d2 commit 77f48e6

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lldb/include/lldb/Target/DynamicLoader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ class DynamicLoader : public PluginInterface {
346346
virtual void CalculateDynamicSaveCoreRanges(
347347
lldb_private::Process &process,
348348
std::vector<lldb_private::MemoryRegionInfo> &ranges,
349-
llvm::function_ref<bool(const lldb_private::Thread &)> save_thread_predicate) {
350-
};
349+
llvm::function_ref<bool(const lldb_private::Thread &)>
350+
save_thread_predicate) {};
351351

352352
protected:
353353
// Utility methods for derived classes

lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ bool DynamicLoaderPOSIXDYLD::IsCoreFile() const {
870870

871871
// For our ELF/POSIX builds save off the fs_base/gs_base regions
872872
static void AddThreadLocalMemoryRegions(Process &process, ThreadSP &thread_sp,
873-
std::vector<MemoryRegionInfo> &ranges) {
873+
std::vector<MemoryRegionInfo> &ranges) {
874874
lldb::RegisterContextSP reg_ctx = thread_sp->GetRegisterContext();
875875
if (!reg_ctx)
876876
return;
@@ -930,7 +930,8 @@ static void AddLinkMapSections(Process &process,
930930
void DynamicLoaderPOSIXDYLD::CalculateDynamicSaveCoreRanges(
931931
lldb_private::Process &process,
932932
std::vector<lldb_private::MemoryRegionInfo> &ranges,
933-
llvm::function_ref<bool(const lldb_private::Thread &)> save_thread_predicate) {
933+
llvm::function_ref<bool(const lldb_private::Thread &)>
934+
save_thread_predicate) {
934935
ThreadList &thread_list = process.GetThreadList();
935936
for (size_t idx = 0; idx < thread_list.GetSize(); idx++) {
936937
ThreadSP thread_sp = thread_list.GetThreadAtIndex(idx);

lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ class DynamicLoaderPOSIXDYLD : public lldb_private::DynamicLoader {
6363
void CalculateDynamicSaveCoreRanges(
6464
lldb_private::Process &process,
6565
std::vector<lldb_private::MemoryRegionInfo> &ranges,
66-
llvm::function_ref<bool(const lldb_private::Thread &)> save_thread_predicate)
67-
override;
66+
llvm::function_ref<bool(const lldb_private::Thread &)>
67+
save_thread_predicate) override;
6868

6969
protected:
7070
/// Runtime linker rendezvous structure.

0 commit comments

Comments
 (0)