License | BSD3 |
---|---|
Stability | provisional |
Safe Haskell | Safe |
Language | Haskell2010 |
Point-of-contact : emertens
- data Info
- computeFunctionTypes :: Module -> Symbol -> Maybe [Info]
- valMdToInfo :: MdMap -> ValMd -> Info
- localVariableNameDeclarations :: IntMap ValMd -> Define -> Map Ident Ident
- mkMdMap :: Module -> IntMap ValMd
- derefInfo :: Info -> Info
- fieldIndexByPosition :: Int -> Info -> Info
- fieldIndexByName :: String -> Info -> Maybe Int
Definition type analyzer
:: Module | module to search |
-> Symbol | function symbol |
-> Maybe [Info] | return and argument type information |
Compute the structures of a function's return and argument types using DWARF information metadata of the LLVM module. Different versions of LLVM make this information available via different paths. This function attempts to support the variations.
valMdToInfo :: MdMap -> ValMd -> Info Source #
Metadata lookup
Type structure dereference
If the argument describes a pointer, return the information for the type that it points do.