Skip to content

Add ability to get named metadata objects from bitcode modules. #1079

Open
@jumanji144

Description

@jumanji144

Feature request

Hello, i have recently been using this library to parse some data from the DXIL directx shader , which uses llvm bitcode to store it's bytecode and type information. Long story short, it uses named metadata to store important information about buffer structures. Using llvmlite it seems i wasn't able to obtain named metadata from ModuleRef objects from bitcode, whilst the ir Module is able to.

As llvmlite uses llvm::Module already for it's ModuleRef, wouldn't it be trivial to implement a function to use the getNamedMetadata function of llvm::Module

Am i doing something wrong, or is it just not implemented?

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions