[LLVMbugs] [Bug 8583] New: internalconstant is invalid bitcode signature in helloworld example

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 10 13:56:15 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8583

           Summary: internalconstant is invalid bitcode signature in
                    helloworld example
           Product: Website
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Documentation
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alfred at 54.org
                CC: llvmbugs at cs.uiuc.edu


http://llvm.org/docs/LangRef.html#highlevel
The hello world example has an error:
@.LC0 = internalconstant[13 x i8] c"hello world\0A\00"      ; [13 x i8]* 
        ^
lli: error loading program '-': Invalid bitcode signature

"internalconstant" should have a space "internal constant"


BTW, I had to delete the metadata stuff at the bottom to get it to compile:

llvm-as: b.ll:19:14: error: Expected '!' here
!foo = !{!1, null}
             ^
lli: error loading program '-': Invalid bitcode signature

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list