[llvm] 446efd2 - [ExecutionEngine] Remove unused declaration defineNonExistent

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Mon May 29 11:02:04 PDT 2023


Author: Kazu Hirata
Date: 2023-05-29T11:01:54-07:00
New Revision: 446efd29b666e14d560ad11b328e84ff62a2f5fb

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

LOG: [ExecutionEngine] Remove unused declaration defineNonExistent

The declaration was added without a corresponding function definition
by:

  commit cb84e4827e43921659e75509dfb42ebf56c50502
  Author: Lang Hames <lhames at gmail.com>
  Date:   Wed Mar 25 13:07:00 2020 -0700

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/Core.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/Core.h b/llvm/include/llvm/ExecutionEngine/Orc/Core.h
index 2c6484f1795cd..c51a15c8ed375 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Core.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Core.h
@@ -607,20 +607,6 @@ class MaterializationResponsibility {
   /// callbacks, metadata).
   Error defineMaterializing(SymbolFlagsMap SymbolFlags);
 
-  /// Define the given symbols as non-existent, removing it from the symbol
-  /// table and notifying any pending queries. Queries that lookup up the
-  /// symbol using the SymbolLookupFlags::WeaklyReferencedSymbol flag will
-  /// behave as if the symbol had not been matched in the first place. Queries
-  /// that required this symbol will fail with a missing symbol definition
-  /// error.
-  ///
-  /// This method is intended to support cleanup of special symbols like
-  /// initializer symbols: Queries using
-  /// SymbolLookupFlags::WeaklyReferencedSymbol can be used to trigger their
-  /// emission, and this method can be used to remove them from the JITDylib
-  /// once materialization is complete.
-  void defineNonExistent(ArrayRef<SymbolStringPtr> Symbols);
-
   /// Notify all not-yet-emitted covered by this MaterializationResponsibility
   /// instance that an error has occurred.
   /// This will remove all symbols covered by this MaterializationResponsibilty


        


More information about the llvm-commits mailing list