1 # REQUIRES: !system-aix
3 # RUN: yaml2obj -DCLASS=ELFCLASS32 %s -o %t_elf32.o
4 # RUN: yaml2obj -DCLASS=ELFCLASS64 %s -o %t_elf64.o
14 ## Test that the environment variable "OBJECT_MODE" is ignored on non-AIX OS.
15 # RUN: env OBJECT_MODE=32 llvm-nm --format=just-symbols %t_elf32.o %t_elf64.o | \
16 # RUN: FileCheck %s -DFILE1=%t_elf32.o -DFILE2=%t_elf64.o --match-full-lines
17 # RUN: env OBJECT_MODE=64 llvm-nm --format=just-symbols %t_elf32.o %t_elf64.o | \
18 # RUN: FileCheck %s -DFILE1=%t_elf32.o -DFILE2=%t_elf64.o --match-full-lines
21 # CHECK-NEXT: ELFCLASS32_var
23 # CHECK-NEXT: [[FILE2]]:
24 # CHECK-NEXT: ELFCLASS64_var