[Lldb-commits] [lldb] [lldb][elf-core][ARM] Add support for VFP registers (PR #155956)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 29 01:58:36 PDT 2025


================
@@ -16,7 +16,7 @@ static std::optional<uint32_t>
 getNoteType(const llvm::Triple &Triple,
             llvm::ArrayRef<RegsetDesc> RegsetDescs) {
   for (const auto &Entry : RegsetDescs) {
-    if (Entry.OS != Triple.getOS())
+    if (Entry.OS != llvm::Triple::UnknownOS && Entry.OS != Triple.getOS())
----------------
DavidSpickett wrote:

What effect does this have?

Is it that calling getOS on a triple of UnknownOS returns some error value?

https://github.com/llvm/llvm-project/pull/155956


More information about the lldb-commits mailing list