[LLVMbugs] [Bug 56] New: CWriter doesn't support zero arg vararg functions

bugzilla-daemon at zion.cs.uiuc.edu bugzilla-daemon at zion.cs.uiuc.edu
Thu Oct 23 10:36:46 PDT 2003


           Summary: CWriter doesn't support zero arg vararg functions
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: C backend
        AssignedTo: sabre at nondot.org
        ReportedBy: sabre at nondot.org

The following is a legal LLVM function, but it causes the CWriter to crash.  It
is not clear how to transform this into legal C code.

declare sbyte* %llvm.va_start()
declare void %llvm.va_end(sbyte*)

void %test(...) {
      %P = call sbyte* %llvm.va_start()
      call void %llvm.va_end(sbyte* %P)
      ret void

------- 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