================
@@ -363,6 +363,14 @@ class Language : public PluginInterface {
     return false;
   }
 
+  /// Returns a boolean indicating whether two symbol contexts correspond to
+  /// the same function. If the plugin has no opinion, it should return 
nullopt.
+  virtual std::optional<bool>
+  AreEquivalentFunctions(const SymbolContext &sc1,
----------------
jimingham wrote:

It would be nice to somehow indicate the comparison w.r.t. which these 
functions/contexts are equivalent.  "Equivalent" makes it sound like maybe I 
could use one in place of the other generally (like maybe I can call either one 
of them???)  `AreEqualForFrameComparison` is a little verbose, but tells you 
what statement we are actually making.

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

Reply via email to