cdisselkoen / llvm-ir

LLVM IR in natural Rust data structures
MIT License
550 stars 46 forks source link

Add function for looking up global variables #22

Closed BramVerb closed 1 year ago

BramVerb commented 2 years ago

I needed an easy way to look up a global variable by name. Since this does exist for functions, I think this belongs in the crate

cdisselkoen commented 1 year ago

Thanks for this!