<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57457>57457</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Add support to generate bitcode from an inlined LLVM IR in the YAML file - yaml2obj
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ardaunal
</td>
</tr>
</table>
<pre>
Adding a support in yaml2obj to convert an inlined LLVM IR that is embedded in the YAML file automatically to bitcode could improve the way we use object files when testing. Something similar to how [DWARF inside ELF](https://github.com/llvm/llvm-project/blob/6227b7ae313d8bb45cd271208b5e6da389795690/llvm/test/tools/yaml2obj/ELF/DWARF/debug-str.yaml) does.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUsGO2yAU_Br78hTLBmPCwYdU20iVspet1KpHMC82FTYR4ET5-z5b2t1De6mENMCDecMMJthnf7LWLSNoSOvtFmIGcAs89exZML8hBxjCckfa1wtVvFvQwuXy4xW-vUGedAaXAGeD1lKBruYJ4dfp9QJX5xH0msOssxu098-Nzbg8BIvEuno6P99iuON-6aGf8EBYEwJ1xiHvDAkeExIrpkwyK_geZszTpji52XkdN9IpPKAQX15-nt7OpCE5avD1ci7ES8GOU863VPBTwc40Rpen1VRDmGnh_f0dDiRka0pL44Mh6BiTRmrkDbdHY1oxWCYbVh-NwM5qflRSiU7VnzybyA1C8Inw3USabmLYeddHaNGs4yHlWG1HCqbABkxViX3Tdc1RdbVQpe25VVzpMrvscYvpIyF68YgLRp3xw89rDPO_IvorkcNHuOUaff_f7riUVtyeJ2QrZDn1ohmaq5ZDJxvFlLaDMnXXtlqJwbDGyNJrgz71FFDB2IIP2CloTvmUrmc1I1N5zZpWclXxruWSS3PlirARRVvjrJ2vNh1ViGMZ-10SeZio6F3K6bOoU3Ljgri3I376gFOIvY5Wr4v25d6737X_AYif-pU">