[llvm] [llvm-ar][Object][COFF] Add support for EC symbols to llvm-ar. (PR #85230)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 01:43:45 PDT 2024


================
@@ -807,6 +827,30 @@ computeMemberData(raw_ostream &StringTable, raw_ostream &SymNames,
     }
   }
 
+  if (SymMap) {
+    if (IsEC) {
+      SymMap->UseECMap = *IsEC;
+    } else {
+      // When IsEC is not specified by the caller, use it when we have both
+      // any ARM64 object (ARM64 or ARM64EC) and any EC object (ARM64EC or
+      // AMD64). This may be a single ARM64EC object, but may also be separated
----------------
jh7370 wrote:

separate rather than separated?

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


More information about the llvm-commits mailing list