[all-commits] [llvm/llvm-project] e9040e: [lldb][PECOFF] Exclude alignment padding when read...

Hiroshi Yamauchi via All-commits all-commits at lists.llvm.org
Fri Aug 4 13:45:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9040e875d9252f726c41579f70663154718c3c6
      https://github.com/llvm/llvm-project/commit/e9040e875d9252f726c41579f70663154718c3c6
  Author: Hiroshi Yamauchi <hjyamauchi at gmail.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M lldb/include/lldb/Symbol/ObjectFile.h
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h
    M lldb/source/Symbol/ObjectFile.cpp
    M lldb/unittests/ObjectFile/PECOFF/CMakeLists.txt
    A lldb/unittests/ObjectFile/PECOFF/TestSectionSize.cpp
    M llvm/lib/ObjectYAML/COFFYAML.cpp
    M llvm/test/tools/yaml2obj/COFF/invalid-raw-data.yaml
    M llvm/test/tools/yaml2obj/COFF/xrelocs.yaml

  Log Message:
  -----------
  [lldb][PECOFF] Exclude alignment padding when reading section data

There can be zero padding bytes at a section end for file alignment in
PECOFF. Exclude those padding bytes when reading the section data.

Differential Revision: https://reviews.llvm.org/D157059




More information about the All-commits mailing list