[lld] [LLD][COFF] Use EC symbol table for output DEF file on ARM64X (PR #125531)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 5 01:51:32 PST 2025
================
@@ -74,6 +74,10 @@ IMPLIB-EC-NEXT: Symbol: func
IMPLIB-EC-NEXT: Symbol: __imp_aux_func
IMPLIB-EC-NEXT: Symbol: #func
+RUN: FileCheck --check-prefix=OUT-DEF %s < out.def
+OUT-DEF: EXPORTS
+OUT-DEF-NEXT: func @1
----------------
cjacek wrote:
I added a test to the linker invocation that exports only the EC symbol (verifying that the command-line option applies only to EC symbols). I also confirmed that the test fails if I revert the change.
https://github.com/llvm/llvm-project/pull/125531
More information about the llvm-commits
mailing list