[llvm-bugs] [Bug 25009] Function pointer type in struct converted to {}*

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 1 16:54:59 PDT 2015


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
(In reply to comment #0)
> I am writing an LLVM-based tool which needs to know the
> types of the various user-defined structs

We make no guarantees about how we choose to emit IR types any particular
source level construct. If you need to know how source-level types map to LLVM
types, you need to ask Clang rather than trying to reconstruct it from the IR.

-- 
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/20151001/69093ea5/attachment.html>


More information about the llvm-bugs mailing list