<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58162>58162</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Get variable names from the llvm code
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tareq97
</td>
</tr>
</table>
<pre>
Hi,
I would like to know if I can get variable names of the source code in llvm pass Would also like to know how llvm pass is storing the variable name information while executing the llvm bitcode symbolically.
For example : From the below C code I want to get the buffer variable name is it possible or not.
int main(int argc, char *argv[])
{
char *buffer = malloc(5);
buffer[6] = 'a';
return 0;
}
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtUsuW2yAM_Rq80WkOxo_YCxaZyUk7X9A1xtimgyEFnDR_XxknnWZaHwNCXK6uJDrX3_g3TdgroUdCD9v8Ble3mB6MflcQHbxbdwU9wBtIYWFUES7Ca9EZBVbMKoAbIE4Kglu8VCBdr0BbMOYyw1mEAN8TnTDBPXNOOD5QOkCIzms7JranGMg3OD-LqJ2F66TRrX4pucQHOtF0Oqbg4TZ3zmgpjLnt_s5sm0_O420xn5GFFAc4eTcnkk4ZVPS6ZYBVEDauWteM0_EyDMp_FobCI5xdCHr1IbV18T9BNXLNQlvCmtUUfpRYdpCT8EDYAfcXUr2Q6khYe7-3f9kM2L4H9C6DFEckNMYhT1Ott4pn_IZD0hpZE5ywvcDxGehVXLwF-sdP9sfNyBTP67ps67otadbzom-LVmRRR6P4138fwvCoZGrHWsZs8YZPMZ4DVpqwE_6jjtPS7aSbcbMC78uXs3c_lIy41SEsKqBRNXnNsomzIVe5ZIJSmsu9EIx1ZU2rZhiKtmiGOjMCmxf4WkLGrML3ulKgjblnmjPKWE5pldOyqdpdVfdtX5VyED1raSdISRU2x-xWHTvnx8zzJKlbxoCHRocYPg7xterRKsW3jmViiZPzPAqvfrb7LIXmSfpvcbwPgg">