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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to