[Lldb-commits] [PATCH] D67951: [LLDB] Add tests for PECOFF arm architecture identification

Martin Storsjö via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 24 02:26:19 PDT 2019


mstorsjo created this revision.
mstorsjo added reviewers: labath, compnerd, amccarth, hhb.
Herald added subscribers: JDevlieghere, abidh, kristof.beyls.
Herald added a project: LLDB.

Add a test case for the change from SVN r372657, and for the preexisting ARM identification.

Add a missing ArchDefinitionEntry for PECOFF/arm64, and tweak the ArmNt case to set the architecture to armv7 (ArmNt never ran on anything lower than that). (This avoids a case where ArchSpec::MergeFrom would override the arch from arm to armv7 and ArchSpec::CoreUpdated would reset the OS to unknown at the same time.)


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D67951

Files:
  lldb/lit/Modules/PECOFF/basic-info-arm.yaml
  lldb/lit/Modules/PECOFF/basic-info-arm64.yaml
  lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  lldb/source/Utility/ArchSpec.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67951.221487.patch
Type: text/x-patch
Size: 6438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190924/a5b98f98/attachment.bin>


More information about the lldb-commits mailing list