[all-commits] [llvm/llvm-project] a0f724: [LLDB] [PECOFF] Make sure to set the address byte ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Dec 10 03:55:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a0f72441c8980c0d68c52f4e789a8c61dc4fd2e7
      https://github.com/llvm/llvm-project/commit/a0f72441c8980c0d68c52f4e789a8c61dc4fd2e7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2019-12-10 (Tue, 10 Dec 2019)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
    M lldb/source/Symbol/ObjectFile.cpp

  Log Message:
  -----------
  [LLDB] [PECOFF] Make sure to set the address byte size in m_data after parsing headers

If not set, the address byte size was implied to be the one of the
host process.

This allows reverting the functional change from 31087b2ae9154, since
now PECOFF does the same as ELF and MachO wrt setting both byte order
and address size on m_data within ParseHeader.

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




More information about the All-commits mailing list