Apparently, sometimes llvm-nm doesn't put the undefined symbol at the top. Take

that into account and test for no U's showing up in the middle, which is what
we really wanted to test for.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141653 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-10-11 06:58:11 +00:00
parent a6f386b4cd
commit b1b8f5f7cd

View File

@ -1,9 +1,8 @@
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-nm %t | FileCheck %s
// CHECK: U
// CHECK-NOT: U
// CHECK: s000a
// CHECK-NOT: U
// CHECK: szzzb
.section saaaa