search for: writebitcode

Displaying 2 results from an estimated 2 matches for "writebitcode".

2020 Aug 11
2
opt - replicating multiple passes from -O3 -debug-pass=Executions
...seems the first pass in my run has additional 'TargetLibrary Information', 'Target Pass Configuration' and the 'Module Pass Manager' entries compared to O3 (copied below). My output shows the 'Pass Arguments:' line has automatically added -targetpassconfig -verify -writebitcode, and the -targetlibinfo flag was moved to the start. Is there a way I can address these differences to enable replicating the -O3 first and second passes using opt flags? Thanks for considering this, -Chad (Opt -O3 first pass) Pass Arguments: -tti -tbaa -scoped-noalias -assumption-cache-tracke...
2008 Mar 09
2
[LLVMdev] linker error (llvm-config, eclipse)
...all I have to say I'm really impressed. LLVM rocks! Unfortunately I've now run into a linker error while trying to optimize the IR or turn it to bitcode and likely due to my very limited experience with c++ I just can't figure out how to resolve it. The linker complains that the llvm::WriteBitcodeToFile function is undefined, although I included llvm/Bitcode/ReaderWriter.h: undefined reference to `llvm::WriteBitcodeToFile(llvm::Module const*, std::basic_ostream<char, std::char_traits<char> >&) I also get the same undefined reference error if I call the llvm::createXXXPass a...