view test/Object/nm-error.test @ 52:c22698ecb2a9

modified CreateIdentifierInfo and create new function which was named 'CreateUniqueIdentifierInfo'.
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Wed, 15 Jan 2014 21:01:33 +0900
parents 95c75e76d11b
children 54457678186b
line wrap: on
line source

Test that llvm-nm returns an error because of the unknown file type, but
keeps processing subsequent files.

Note: We use a temporary file since the tests don't run with pipefail.

RUN: touch %t
RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
RUN:             %p/Inputs/trivial-object-test.elf-i386 > %t.log
RUN: FileCheck %s < %t.log

CHECK:          U SomeOtherFunction
CHECK: 00000000 T main
CHECK:          U puts

CHECK:          U SomeOtherFunction
CHECK: 00000000 T main
CHECK:          U puts