[LLVMbugs] [Bug 14415] New: llc cpp generation out of date (since r168354).

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 22 08:32:17 PST 2012


             Bug #: 14415
           Summary: llc cpp generation out of date (since r168354).
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: h.bakiras at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I have a problem since revision r168354.
The AttrListPtr object became a part of the LLVMContext but the llc generated
code does not support this yet.

So when compiling vmkit project, which uses AttrListPtr, I get the following
error :

[...]/vmkit/lib/vmkit/Compiler/LLVMRuntime.inc:255:49: error: too few arguments
to function call, expected 2, have 1
 func_llvm_sqrt_f64_PAL = AttrListPtr::get(Attrs);
                          ~~~~~~~~~~~~~~~~      ^
[...]/llvm/include/llvm/Attributes.h:334:3: note: 'get' declared here
  static AttrListPtr get(LLVMContext &C, ArrayRef<AttributeWithIndex> Attrs);

LLVMRuntime.inc is a generated by using "llc" command with the following
options "-march=cpp -cppgen=contents".
The problem is basically an API update to perform when generating the C++ code.

It will be great if the bug could be corrected.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list