Ignore DBGArchitecture from dsymForUUID's plist
authorJason Molenda <jason@molenda.com>
Wed, 9 Dec 2020 22:12:15 +0000 (14:12 -0800)
committerJason Molenda <jason@molenda.com>
Wed, 9 Dec 2020 22:19:55 +0000 (14:19 -0800)
commit2cedc44a92337ccc0e8173b4dbf4cfe5650da8cd
tree3571e6c067e257b167419e5d61a2cb00d634285a
parent898d61b3cff5d79870d964c76d82764fef73efbb
Ignore DBGArchitecture from dsymForUUID's plist

When the architecture from the returned plist differs from the
architecture lldb will pick when loading the binary file, lldb will
reject the binary as not matching.  We are working with UUID's in
this case, so an architecture is not disambiguating anything; it
just opens this possibility for failing to load the specified binary.
Stop reading the architecture from the plist.

<rdar://problem/71612561>
Differential revision: https://reviews.llvm.org/D92692
lldb/source/Symbol/LocateSymbolFileMacOSX.cpp
lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py