Author: Alex Langford Date: 2023-08-22T10:35:36-07:00 New Revision: a43e23a2141f4fa78940844d810648ff8d40f474
URL: https://github.com/llvm/llvm-project/commit/a43e23a2141f4fa78940844d810648ff8d40f474 DIFF: https://github.com/llvm/llvm-project/commit/a43e23a2141f4fa78940844d810648ff8d40f474.diff LOG: [lldb][NFCI] Silence warning about unhandled value eManglingSchemeSwift in switch statement For now, we don't handle swift names in Symtab. Added: Modified: lldb/source/Symbol/Symtab.cpp Removed: ################################################################################ diff --git a/lldb/source/Symbol/Symtab.cpp b/lldb/source/Symbol/Symtab.cpp index cf8732530c1ae2..6d94fe5031627b 100644 --- a/lldb/source/Symbol/Symtab.cpp +++ b/lldb/source/Symbol/Symtab.cpp @@ -256,6 +256,7 @@ static bool lldb_skip_name(llvm::StringRef mangled, case Mangled::eManglingSchemeMSVC: case Mangled::eManglingSchemeRustV0: case Mangled::eManglingSchemeD: + case Mangled::eManglingSchemeSwift: return false; // Don't try and demangle things we can't categorize. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits