[all-commits] [llvm/llvm-project] 623e84: Recognize BSS-only DATA segments as sections that ...

Jason Molenda via All-commits all-commits at lists.llvm.org
Thu Jun 29 17:51:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 623e8455919af69b039fe7450118ba953423a027
      https://github.com/llvm/llvm-project/commit/623e8455919af69b039fe7450118ba953423a027
  Author: Jason Molenda <jason at molenda.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
    A lldb/test/API/macosx/bss-only-data-section-sliding/Makefile
    A lldb/test/API/macosx/bss-only-data-section-sliding/TestBSSOnlyDataSectionSliding.py
    A lldb/test/API/macosx/bss-only-data-section-sliding/main.c

  Log Message:
  -----------
  Recognize BSS-only DATA segments as sections that need to be slid

ObjectFileMachO::SetLoadAddress() should allow for a DATA segment
that has no file content to be slid in the vmaddr, it is valid
to have such a section.

Differential Revision: https://reviews.llvm.org/D154037
rdar://99744343




More information about the All-commits mailing list