nm-error.test 428 B

123456789101112131415
  1. Test that llvm-nm returns an error because of the unknown file type, but
  2. keeps processing subsequent files.
  3. RUN: touch %t
  4. RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
  5. RUN: %p/Inputs/trivial-object-test.elf-i386 | \
  6. RUN: FileCheck %s
  7. CHECK: U SomeOtherFunction
  8. CHECK: 00000000 T main
  9. CHECK: U puts
  10. CHECK: U SomeOtherFunction
  11. CHECK: 00000000 T main
  12. CHECK: U puts