[llvm-dev] How to generate .bc file using configure && make on Mac OS X?

Peng Yu via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 28 08:24:05 PST 2019


This works great.

> You can also try using the gllvm wrapper: https://github.com/SRI-CSL/gllvm ; it's quite reliable and easy to use in my experience.

Just to be sure. Only one version of bc file will be generated that
corresponds to the compiler options provide at configure?

The original approach using ld.gold will provide several .bc files
that correspond to different stages of the optimization.

I think using gllvm, I need to specify the corresponding -O? option to
the correct optimization stage of the bc file? Thanks.

-- 
Regards,
Peng


More information about the llvm-dev mailing list