This matches gnu nm and has the advantage that there is a upper case N.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240655
91177308-0d34-0410-b5e6-
96231b3b80d8
// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
// RUN: llvm-nm --print-size %t | FileCheck %s
// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-linux
// RUN: llvm-nm --print-size %t | FileCheck %s
-// CHECK: 0000000000000000 ffffffffffffffff t a
+// CHECK: 0000000000000000 ffffffffffffffff n a
+// CHECK: 0000000000000000 0000000000000000 N b
a:
.size a, 0xffffffffffffffff
a:
.size a, 0xffffffffffffffff
}
static char getSymbolNMTypeChar(COFFObjectFile &Obj, symbol_iterator I) {
}
static char getSymbolNMTypeChar(COFFObjectFile &Obj, symbol_iterator I) {