[llvm-bugs] [Bug 26533] New: Extract out information from LibFunc into a .def and use it in clang combined with builtin info

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 8 13:37:53 PST 2016


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

            Bug ID: 26533
           Summary: Extract out information from LibFunc into a .def and
                    use it in clang combined with builtin info
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mgottesman at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I am not sure what is the right component for this, so please move it if I am
incorrect.

LibFunc/FunctionAttrs programatically in LLVM has a bunch of information about
library calls that clang does not. It would be great to have clang have access
to this information and put the relevant attributes on such functions.

An example of this sort of information is that clang does not know about how
functions capture pointers.

Ideally we would refactor that information into a .def (or even tblgen file if
necessary) in LLVM and then have clang import that information from LLVM.

Then we only have this information in one place in LLVM/clang and get more
information.

-- 
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/20160208/807b658e/attachment.html>


More information about the llvm-bugs mailing list