<div dir="ltr"><div>Because I need to convert an [4 x i8] type to i8* in the instantiation of a GlobalVariable.<br></div><div>I have the follow declaration: %xxx = type { i8* } and I must emit the following variable:<br></div>

<div>@yyy = linkonce_odr constant %xxx { [4 x i8] c"hello\00" }, but it's wrong.<br><br></div>How do I do?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/18 Óscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es" target="_blank">ofv@wanadoo.es</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Alessio Giovanni Baroni <<a href="mailto:alessiogiovanni.baroni@gmail.com">alessiogiovanni.baroni@gmail.com</a>> writes:<br>

<br>
> I need the class in object, but the file ConstantsContext,h isn't installed.<br>
><br>
> What can I do? Copy that header under include? It's an installation bug?<br>
<br>
</div>That's an internal header, not part of the public API.<br>
<br>
Why do you need the classes declared on that header?<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br></div>