================
@@ -36,9 +36,7 @@ DAP::DAP()
           {{"cpp_catch", "C++ Catch", lldb::eLanguageTypeC_plus_plus},
            {"cpp_throw", "C++ Throw", lldb::eLanguageTypeC_plus_plus},
            {"objc_catch", "Objective-C Catch", lldb::eLanguageTypeObjC},
-           {"objc_throw", "Objective-C Throw", lldb::eLanguageTypeObjC},
-           {"swift_catch", "Swift Catch", lldb::eLanguageTypeSwift},
-           {"swift_throw", "Swift Throw", lldb::eLanguageTypeSwift}}),
+           {"objc_throw", "Objective-C Throw", lldb::eLanguageTypeObjC}}),
----------------
jimingham wrote:

The ObjC Language runtime is able to detect whether ObjC is loaded into the 
program.  It runs that detector on each library load, so it keeps an accurate 
notion of this.  Ditto for the swift language runtime.  It would be better to 
consult that than guess based on platform.  There may not currently be a way to 
ask that from the SB API's but we can certainly make one...

https://github.com/llvm/llvm-project/pull/87550
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to