Jin Gu Kang
2010-Jul-23 02:06 UTC
[LLVMdev] Global variable's initializer with Abstract or opaque type
Dear LLVM members. Hi. I have a question. I woule like to know whether or not a global variable with abstract or opaque type can has initializer (constructor). For example, general assembly code: %struct.test = type { [10 x i8] } @ovm = global %struct.test { [10 x i8] c"ovmtest\00\00\00" } question: %struct.test = type { [10 x i8], opaque } @ovm = global %struct.test { [10 x i8] c"ovmtest\00\00\00", ???} Thanks Best regards, Jin-Gu Kang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100723/28a4cc07/attachment.html>