# XFAIL: win32 # # Check that the linker is able to demangle strings properly. # Once there is a way to add undefined symbols using yaml2obj, the test will be # changed. RUN: lld -flavor gnu -target x86_64 %p/Inputs/undefcpp.o --noinhibit-exec 2>&1 | FileCheck -check-prefix=DEMANGLE %s RUN: lld -flavor gnu -target x86_64 %p/Inputs/undefcpp.o --noinhibit-exec --no-demangle 2>&1 | FileCheck -check-prefix=NODEMANGLE %s RUN: lld -flavor gnu -target x86_64 %p/Inputs/undefcpp.o --noinhibit-exec --demangle 2>&1 | FileCheck -check-prefix=DEMANGLE %s #DEMANGLE: undefcpp.o: foo(char const*) #NODEMANGLE: undefcpp.o: _Z3fooPKc