https://llvm.org/bugs/show_bug.cgi?id=31743

            Bug ID: 31743
           Summary: YAML fails to round trip strings with \01 in them, the
                    escape LLVM uses to avoid name IR mangling
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedb...@nondot.org
          Reporter: r...@google.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

This prevents llc from parsing any MIR targeting the Microsoft C++ ABI.

Steps to reproduce:

$ echo 'void f() {}' | clang -cc1 -triple x86_64-windows-msvc -x c++ -
-emit-llvm | llc -stop-after branch-folder -o t.mir
$ llc t.mir
error: YAML:21:20: Unrecognized character while tokenizing.
name:            '?f@@YAXXZ'
                   ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to