Displaying 1 result from an estimated 1 matches for "f41eab9f".
2016 Nov 14
2
getting the value back from metadata
Hello,
I'm trying to extract the value out of my MDNode, but for some reason I can't.
For example, if one part of the code gets an MDNode that was created as follows:
Metadata* vals[2] =
{ ValueAsMetadata::get(&F), ValueAsMetadata::get(ConstantInt::get(context, 135)) };
MDNode* mdnode = MDNode::get(context, vals);
Is it possible to extract the value of the constant int