File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,18 @@ struct COFFShortExport {
135
135
}
136
136
};
137
137
138
+ // / Writes a COFF import library containing entries described by the Exports
139
+ // / array.
140
+ // /
141
+ // / For hybrid targets such as ARM64EC, additional native entry points can be
142
+ // / exposed using the NativeExports parameter. When NativeExports is used, the
143
+ // / output import library will expose these native ARM64 imports alongside the
144
+ // / entries described in the Exports array. Such a library can be used for
145
+ // / linking both ARM64EC and pure ARM64 objects, and the linker will pick only
146
+ // / the exports relevant to the target platform.
147
+ // /
148
+ // / For non-hybrid targets, the NativeExports parameter should not be used.
149
+ // / Instead, pass std::nullopt or an empty array to this parameter.
138
150
Error writeImportLibrary (StringRef ImportName, StringRef Path,
139
151
ArrayRef<COFFShortExport> Exports,
140
152
ArrayRef<COFFShortExport> NativeExports,
You can’t perform that action at this time.
0 commit comments