Re: [go-nuts] How to get the executable file from LLVM IR generated by gollvm

2021-06-24 Thread cy lee
thx :) 在2021年6月24日星期四 UTC+8 下午11:35:05 写道: > Hello, > > What you're talking about is not something that's currently supported by > gollvm. > > The way that the gollvm driver code is structured, each input file is > placed into one of three categories: Go source files, assembly files, and > "e

Re: [go-nuts] How to get the executable file from LLVM IR generated by gollvm

2021-06-24 Thread 'Than McIntosh' via golang-nuts
Hello, What you're talking about is not something that's currently supported by gollvm. The way that the gollvm driver code is structured, each input file is placed into one of three categories: Go source files, assembly files, and "everything else". Files that fall into the third category are p

[go-nuts] How to get the executable file from LLVM IR generated by gollvm

2021-06-24 Thread cy lee
Hi, I get the .ll files from gollvm, and I know there is no way to get executable file by lli, but whether there are other ways can do this? here is the simple go code, *hello.go* *package mainimport "fmt"func main() { * *fmt.Println("hello world") * *}* Using commands as following,