[Lldb-commits] [lldb] d6eaaa1 - [lldb] Remove unimplemented SBTraceCursor::GetExecutionContextRef

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 30 20:35:58 PST 2023


Author: Jonas Devlieghere
Date: 2023-01-30T20:35:52-08:00
New Revision: d6eaaa1f13a9f7c3d3f87257ea2cf18e0dc13d86

URL: https://github.com/llvm/llvm-project/commit/d6eaaa1f13a9f7c3d3f87257ea2cf18e0dc13d86
DIFF: https://github.com/llvm/llvm-project/commit/d6eaaa1f13a9f7c3d3f87257ea2cf18e0dc13d86.diff

LOG: [lldb] Remove unimplemented SBTraceCursor::GetExecutionContextRef

Fixes TAPI verification error:

  SBTraceCursor.h:130:23: error: declaration has external linkage, but dynamic library doesn't have symbol '__ZN4lldb13SBTraceCursor22GetExecutionContextRefEv'
  SBExecutionContext &GetExecutionContextRef();
                      ^

Remove the method as it doesn't have an implementation.

Added: 
    

Modified: 
    lldb/include/lldb/API/SBTraceCursor.h

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/API/SBTraceCursor.h b/lldb/include/lldb/API/SBTraceCursor.h
index c2f38b6b48687..f885131921023 100644
--- a/lldb/include/lldb/API/SBTraceCursor.h
+++ b/lldb/include/lldb/API/SBTraceCursor.h
@@ -124,11 +124,6 @@ class LLDB_API SBTraceCursor {
   ///     \b true if and only if the cursor ends up pointing to a valid item.
   bool Seek(int64_t offset, lldb::TraceCursorSeekType origin);
 
-  /// \return
-  ///   The \a ExecutionContextRef of the backing thread from the creation time
-  ///   of this cursor.
-  SBExecutionContext &GetExecutionContextRef();
-
   /// Trace item information (instructions, errors and events)
   /// \{
 


        


More information about the lldb-commits mailing list