1 ;; Test that ECSYMBOLS section is created when ARM64EC bitcode is used.
3 ; RUN: llvm-as %s -o %t.bc
5 ; RUN: llvm-ar cr %t.a %t.bc
6 ; RUN: llvm-nm --print-armap %t.a | FileCheck %s
8 ; CHECK-NOT: Archive map
9 ; CHECK: Archive EC map
10 ; CHECK-NEXT: a in ecsymbols.ll.tmp.bc
11 ; CHECK-NEXT: b in ecsymbols.ll.tmp.bc
12 ; CHECK-NEXT: c in ecsymbols.ll.tmp.bc
15 target triple = "arm64ec-unknown-windows-msvc"
17 define void @b() { ret void }
18 define void @c() { ret void }
19 define void @a() { ret void }