I added my new custom attribute and I can see it on the memory operands of LLVM IR, is there any way to do so on the Machine Code level as well?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No, there isn't.
Metadata is an LLVM-IR thing. It can be consumed by passes and then used to generate something on the machine code level, but you have to do that yourself (or add metadata which is already used by some pass, such as debug information).