[llvm-dev] How to generate .bc file using configure && make on Mac OS X?
Jakub (Kuba) Kuderski via llvm-dev
llvm-dev at lists.llvm.org
Mon Jan 28 11:30:25 PST 2019
It did work for me with llvm-5.0. I don't have time run it on newer
tar xvf bash-5.0.tar.gz
mkdir build; cd build
for i in $(find . -executable -and -type f) ; do echo $i ; extract-bc $i ;
lli bash.bc -c "echo 'test''"
On Mon, Jan 28, 2019 at 1:44 PM Peng Yu <pengyu.ut at gmail.com> wrote:
> Could you try the bash source code to see if you see the same errors?
> It should just take a few minutes to configure/compile. Thanks.
> > I did a sanity check and run some of the bitcode I complied with gllvm
> and it seems to work fine under lli. The only issues is to make sure you
> load all the (external) libraries the bitcode needs. I highly suggest you
> run a debug version of lli under a debugger and see what exactly happens.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev