[lld] [llvm] [COFF] Rename the COFFShortExport::AliasTarget field (PR #89039)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 12:05:14 PDT 2024


================
@@ -98,9 +98,11 @@ struct COFFShortExport {
   /// "/export:foo=bar", this could be "_bar at 8" if bar is stdcall.
   std::string SymbolName;
 
-  /// Creates a weak alias. This is the name of the weak aliasee. In a .def
+  /// Creates an import library entry that imports from a DLL export with a
+  /// different name. This is the name of the DLL export that should be
+  /// referenced when linking against this import library entry. In a .def
   /// file, this is "baz" in "EXPORTS\nfoo = bar == baz".
-  std::string AliasTarget;
+  std::string ImportTarget;
----------------
cjacek wrote:

Maybe `ImportName`?

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


More information about the llvm-commits mailing list