diff --git a/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.elf-x86_64 b/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.elf-x86_64 new file mode 100644 index 000000000000..92a116786bda Binary files /dev/null and b/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.elf-x86_64 differ diff --git a/llvm/test/tools/llvm-nm/X86/posixELF.test b/llvm/test/tools/llvm-nm/X86/posixELF.test new file mode 100644 index 000000000000..6b4e95496125 --- /dev/null +++ b/llvm/test/tools/llvm-nm/X86/posixELF.test @@ -0,0 +1,4 @@ +# RUN: llvm-nm -P %p/Inputs/hello.obj.elf-x86_64 | FileCheck %s + +CHECK: main T 0000000000000000 0000000000000000 +CHECK: puts U 0000000000000000