Apparently, sometimes llvm-nm doesn't put the undefined symbol at the top. Take
authorNick Lewycky <nicholas@mxc.ca>
Tue, 11 Oct 2011 06:58:11 +0000 (06:58 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 11 Oct 2011 06:58:11 +0000 (06:58 +0000)
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

test/MC/ELF/many-section.s

index c5ef90fcd09cd5431b65a2af602d295201a33c9c..e7e723ad90594a85a19733e3ac1695f0639efa6a 100644 (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