Skip to content

Commit 43ab513

Browse files
committed
Check archive map in test
1 parent 2fd0b24 commit 43ab513

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/test/tools/llvm-lib/sym64-threshold.test

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# RUN: yaml2obj --docnum=1 %s -o %t01234567890234567789.obj
22
# RUN: yaml2obj --docnum=2 %s -o %t-ec.obj
33
# RUN: env SYM64_THRESHOLD=100 llvm-lib -machine:amd64 -out:%t.lib %t01234567890234567789.obj
4-
# RUN: llvm-readobj %t.lib
4+
# RUN: llvm-nm --print-armap %t.lib | FileCheck --check-prefix=ARMAP %s
5+
# ARMAP: Archive map
6+
# ARMAP-NEXT: sym
7+
58
# RUN: env SYM64_THRESHOLD=100 not llvm-lib -machine:arm64x -out:%t-ec.lib %t-ec.obj %t01234567890234567789.obj 2>&1 | FileCheck %s
69
# CHECK: Archive is too large: ARM64X does not support archives larger than 4GB
710

0 commit comments

Comments
 (0)