https://bugs.llvm.org/show_bug.cgi?id=48249

            Bug ID: 48249
           Summary: LLVMCreateTypeAttribute is missing from LLVM-C API
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedb...@nondot.org
          Reporter: christoffer.le...@gmail.com
                CC: llvm-bugs@lists.llvm.org

>From the LLVM-C API it is possible to create string and enum attributes,
however it still lacks support for type attributes, which makes it impossible
to use byval attributes properly. This problem is also clearly documented:


In LLVMCreateEnumAttribute it says:

    // After r362128, byval attributes need to have a type attribute. Provide a
    // NULL one until a proper API is added for this.

This affects sret and byval.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to