<br clear="all">Hello,<br><br>I was researching how Metadata in LLVM 2.7 is represented and used and I found that Metadata can be attached and manipulated at both the module level and instruction levels.  Upon inspecting the Metadata classes, I also saw that there is an enum that contains a bit for "FunctionLocalBit" on the MDNode. <br>
<br>Unfortunately, I did not see any methods to attach or manipulate Metadata at the BasicBlock level or Function levels in the LLVM IR classes.<br><br>Can someone please tell me why there is no support for attaching and manipulating Metadata to BasicBlocks and Functions?<br>
<br>Thanks a lot.<br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>
<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>