diff options
author | Jason Molenda <jmolenda@apple.com> | 2025-02-08 15:50:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-08 15:50:52 -0800 |
commit | fec6d168bbdf5116d2f7aaa52f0f429916af4f2d (patch) | |
tree | 8e7103ecfe94e83dd49e88d39cae9b494b506c08 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | 8e61aae4a8ce938f42604b10123c3b21d4adc0b8 (diff) | |
download | llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.zip llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.tar.gz llvm-fec6d168bbdf5116d2f7aaa52f0f429916af4f2d.tar.bz2 |
[lldb] Upstream a few remaining Triple::XROS patches (#126335)
Recognize the visionOS Triple::OSType::XROS os type. Some of these have
already been landed on main, but I reviewed the downstream sources and
there were a few that still needed to be landed upstream.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index bf2d293..4b69fa6 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -2848,7 +2848,7 @@ void ObjectFileMachO::ParseSymtab(Symtab &symtab) { "DSC unmapped local symbol[{0}] has invalid " "string table offset {1:x} in {2}, ignoring symbol", nlist_index, nlist.n_strx, - module_sp->GetFileSpec().GetPath()); + module_sp->GetFileSpec().GetPath())); continue; } if (symbol_name[0] == '\0') @@ -6557,9 +6557,8 @@ bool ObjectFileMachO::SaveCore(const lldb::ProcessSP &process_sp, target_triple.getOS() == llvm::Triple::IOS || target_triple.getOS() == llvm::Triple::WatchOS || target_triple.getOS() == llvm::Triple::TvOS || + target_triple.getOS() == llvm::Triple::BridgeOS || target_triple.getOS() == llvm::Triple::XROS)) { - // NEED_BRIDGEOS_TRIPLE target_triple.getOS() == llvm::Triple::BridgeOS)) - // { bool make_core = false; switch (target_arch.GetMachine()) { case llvm::Triple::aarch64: |