Re: [go-nuts] Dynamically loading custom passes with gollvm?

2022-04-10 Thread Balamurugan Marimuthu
at 12:14:34 AM UTC-4 Ian Lance Taylor wrote: > On Sat, Apr 9, 2022 at 8:28 PM Balamurugan Marimuthu > wrote: > > > > I see I can invoke the following and see the steps 'go build' is doing. > > > > % go build -work -x mypackage.go 1> transcript.txt

[go-nuts] Dynamically loading custom passes with gollvm?

2022-04-09 Thread Balamurugan Marimuthu
Hi there, I see I can invoke the following and see the steps 'go build' is doing. % go build -work -x mypackage.go 1> transcript.txt 2>&1 I struggle to understand how can I load my custom pass created as a shared library? I was looking for something like this which is done with Clang: clang -X