1 ## Test llvm-nm demangling of symbols for XCOFF object files.
2 ## Test following symbols:
4 ## 2. Name consisting solely of .
5 ## 3. Name starting with . that can't be demangled
6 ## 4. Name starting with . that can be demangled
7 ## 5. Name not starting with . that can't be demangled
8 ## 6. Name not starting with . that can be demangled
10 # RUN: yaml2obj --docnum=1 %s -o %t.o
11 # RUN: llvm-nm --demangle --format=just-symbols %t.o 2>&1 | FileCheck %s --check-prefix=NM-DEMANGLE --match-full-lines
15 # NM-DEMANGLE-NEXT: ._5func1i
16 # NM-DEMANGLE-NEXT: .func1(int)
17 # NM-DEMANGLE-NEXT: L5func0v
18 # NM-DEMANGLE-NEXT: func0()