[Lldb-commits] [lldb] [lldb] Remove ConstString from SectionList::FindSectionByName (PR #207296)

Sergei Barannikov via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 3 06:45:08 PDT 2026


================
@@ -5510,7 +5510,7 @@ ObjectFile::Strata ObjectFileMachO::CalculateStrata() {
     } else {
       SectionList *section_list = GetSectionList();
       if (section_list) {
-        static ConstString g_kld_section_name("__KLD");
+        llvm::StringRef g_kld_section_name("__KLD");
----------------
s-barannikov wrote:

Inline the variable? In other places too.

https://github.com/llvm/llvm-project/pull/207296


More information about the lldb-commits mailing list