[LLVMbugs] [Bug 479] NEW: asmreader/writer cannot handle labels with arbitrary characters
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Dec 9 20:16:46 PST 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=479
Summary: asmreader/writer cannot handle labels with arbitrary
characters
Product: libraries
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sabre at nondot.org
This testcase breaks because the inliner puts a ; in the label name. This
should be fixed in VMCore/asmparser to print the label name in quotes, like
'"Foo;.exit":' as needed. Alkis ran into this when working on the Java FE.
; RUN: llvm-as < %s | opt -inline | llvm-dis | llvm-as
implementation
internal int "Foo;"(bool %C, int %X, int %Y) {
br bool %C, label %T, label %F
T:
ret int %X
F:
ret int %Y
}
int %caller(bool %C, int %X, int %Y) {
call int "Foo;"(bool %C, int %X, int %Y)
ret int %0
}
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list