[Lldb-commits] [lldb] [lldb-dap] Implement value locations for function pointers (PR #104589)

Adrian Vogelsgesang via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 18 14:20:03 PDT 2024


================
@@ -1198,6 +1198,26 @@ std::string VariableDescription::GetResult(llvm::StringRef context) {
   return description.trim().str();
 }
 
+bool HasValueLocation(lldb::SBValue v) {
+  if (!v.GetType().IsPointerType() && !v.GetType().IsReferenceType()) {
+    return false;
+  }
----------------
vogelsgesang wrote:

should be fixed in the updated PR

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


More information about the lldb-commits mailing list