[all-commits] [llvm/llvm-project] 575898: [lldb][Minidump] Fix wrong variable in getModuleFi...

satyanarayana reddy janga via All-commits all-commits at lists.llvm.org
Tue Jul 28 14:48:42 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 575898b60d805e6a7259a5db0a2d0ee9913f6790
      https://github.com/llvm/llvm-project/commit/575898b60d805e6a7259a5db0a2d0ee9913f6790
  Author: satyanarayana reddy janga <satyajanga at gmail.com>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
    A lldb/test/API/functionalities/process_save_core_minidump_size_of_image/Makefile
    A lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py
    A lldb/test/API/functionalities/process_save_core_minidump_size_of_image/main.c
    A lldb/test/API/functionalities/process_save_core_minidump_size_of_image/testlib.c

  Log Message:
  -----------
  [lldb][Minidump] Fix wrong variable in getModuleFileSize loop (#188363)

Use next_sect_sp instead of sect_sp when getting the byte size inside
the section-walking loop. Using the original sect_sp meant sect_size
never changed between iterations, producing an incorrect SizeOfImage and
risking an infinite loop when sections have different sizes.



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