[all-commits] [llvm/llvm-project] c04e80: [lldb] Eliminate check for HasLoadedSections (NFC)...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Jun 24 16:24:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c04e804a3117910d564a6982bed75f369d8a3467
      https://github.com/llvm/llvm-project/commit/c04e804a3117910d564a6982bed75f369d8a3467
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M lldb/source/Core/FormatEntity.cpp

  Log Message:
  -----------
  [lldb] Eliminate check for HasLoadedSections (NFC) (#145366)

We can omit the call to Target::HasLoadedSections as
Address::HasLoadedSections already "does the right thing" and returns
LLDB_INVALID_ADDRESS if no sections are loaded.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list