[llvm-bugs] [Bug 31743] New: YAML fails to round trip strings with \01 in them, the escape LLVM uses to avoid name IR mangling
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 24 13:32:59 PST 2017
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: unassignedbugs at nondot.org
Reporter: rnk at google.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170124/1ca67ef0/attachment.html>
More information about the llvm-bugs
mailing list