[llvm-bugs] [Bug 42083] New: Go bindings test for IR attributes is faulty

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 30 20:47:22 PDT 2019


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

            Bug ID: 42083
           Summary: Go bindings test for IR attributes is faulty
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rtrieu at google.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

The go bindings test for IR attributes tests them by attaching each attribute
to a Function.  However, only some attributes should be attached to a Function.
 In r362128, the "byval" attribute has additional checks which asserts when
attempting to use it in this manner.  "byval" has been removed from the test in
r362189.  The attribute test should only apply attributes to where they are
allowed instead of just using Function.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190531/445e88b0/attachment.html>


More information about the llvm-bugs mailing list