LLVM what does i32 (…)** mean in type define?

情到浓时终转凉″ 提交于 2019-12-13 04:21:24

问题


I create a class called student:

class Student{
 public:
  int getNumber() const {
    return number;
  }
  virtual void setNumber(int number) {
    Student::number = number;
  }
 private:
  int number;
};

and converted it to IR, but there's one part confused me a lot:

%class.Student = type <{ i32 (...)**, i32, [4 x i8] }>

I believe the i32 (...)** part is for v-table, the i32 part is for int number and the [4 x i8] part is for alignment. But I searched the language references and could not find what i32 (...)** means, can anybody tells me what that mean?

来源:https://stackoverflow.com/questions/54665797/llvm-what-does-i32-mean-in-type-define

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!