Skip to content

Instantly share code, notes, and snippets.

@miraleung
Created June 10, 2015 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miraleung/de8de992c89e85ca36ea to your computer and use it in GitHub Desktop.
Save miraleung/de8de992c89e85ca36ea to your computer and use it in GitHub Desktop.
Print type in LLVM
std::string type_str;
llvm::raw_string_ostream rso(type_str);
the_type->print(rso);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment