LLVM中的机器代码级别上是否存在元数据? [英] Do metadata exist on Machine Code level in LLVM?

查看:85
本文介绍了LLVM中的机器代码级别上是否存在元数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加了新的自定义属性,并且可以在LLVM IR的内存操作数上看到它,是否也可以在计算机代码级别执行此操作?

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?

推荐答案

不,没有.

元数据是LLVM-IR的内容.它可以通过传递来使用,然后用于在机器代码级别上生成某些东西,但是您必须自己做(或添加某些传递已使用的元数据,例如调试信息).

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).

这篇关于LLVM中的机器代码级别上是否存在元数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆