Skip to content

CWriter doesn't support zero arg vararg functions #428

@lattner

Description

@lattner
Bugzilla Link 56
Resolution WONTFIX
Resolved on Feb 22, 2010 12:42
Version trunk
OS All
Blocks llvm/llvm-bugzilla-archive#1052
CC @lattner

Extended Description

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixIssue is real, but we can't or won't fix it. Not invalid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions