Hi, Can you be a bit more specific, e.g. what Go code you compiler and what error you saw? It would also be helpful to know what version of lli/llc you were using.
Thanks, Than On Thu, Apr 8, 2021 at 2:33 AM Khanh TN <[email protected]> wrote: > Hi, > I'm following this page https://go.googlesource.com/gollvm to compile Go > code the LLVM way. > I'm at the step "How do I see the LLVM IR generated by gollvm?" of the > page. I'm doing exactly as the instruction. Gollvm produces a .ll file but > the file has bad syntax. Running llvm-as (or llc, lli) on the generated .ll > file gives error (I think its syntax error) > Can anyone check this out? > > Thankss, > > Khanh > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/e21d46ff-d151-46fc-ac1d-5da2a153a9fdn%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/e21d46ff-d151-46fc-ac1d-5da2a153a9fdn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55Gd%3Do4KQzsx-sK-PqK4H7nvBtJ%3DeTLFsPsFtH7VFoE1sA%40mail.gmail.com.
