[Lldb-commits] [PATCH] D128268: [lldb] Fix reading i686-windows executables with GNU environment

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 21 07:49:26 PDT 2022


DavidSpickett added a comment.

> Now since the addition of the new setting in 25c8a061c5739677d2fc0af29a8cc9520207b923 <https://reviews.llvm.org/rG25c8a061c5739677d2fc0af29a8cc9520207b923>, ObjectFile::GetModuleSpecifications can return i386-pc-windows-gnu and i686-pc-windows-gnu, while PlatformWindows provides a list containing i386-pc-windows (which is normalized to i386-pc-windows-msvc) and i686-pc-windows (...-msvc). Due to the differing environments, these are deemed incompatible, and LLDB flat out refuses to load the file, with the error message error: no matching platforms found for this file.

Cool, now I understand. Can you add something like that as a comment in the test file? Without that context the test seems not to be testing much at all.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128268/new/

https://reviews.llvm.org/D128268



More information about the lldb-commits mailing list