Seung Jae Lee
2007-May-28 07:31 UTC
[LLVMdev] Usage of llvmc (Sorry. Please disregard the right above.)
Thank you so much for your reply, Chris. If so, can I ask you two things more? First, is there any way to have various optimizations on LLVM assembly such as -O options in llvmc? llvm-gcc doesn't seem to be working for these -O options... Second, I'm still not sure about difference between *.s and *.ll. LLVM assembly *.s file can be made from llvm-gcc with -S option. Another assembly *.ll file comes from just llvm-gcc and llvm-dis. Is the difference between these two extensions on the optimized state? Thanks, Seung J. Lee ---- Original message ---->Date: Mon, 28 May 2007 00:08:47 -0700 (PDT) >From: Chris Lattner <sabre at nondot.org> >Subject: Re: [LLVMdev] Usage of llvmc >To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> > >On Mon, 28 May 2007, Seung Jae Lee wrote: >> Hello, guys. >> I've tried to use llvmc to test optimization options but wasn't successful. >> Would you mind telling me what's wrong with this? > >Hi, llvmc is experimental and isn't really supported. I'd suggest using >llvm-gcc instead. > >-Chris > >> ------------------------------------------------------------- >> $ llvmc chc_03.c -O3 -o chc_03 >> terminate called after throwing an instance of 'std::string' >> llvmc((anonymous namespace)::PrintStackTrace()+0x15)[0x8086091] >> /lib/tls/libc.so.6(abort+0xe9)[0x367199] >> /usr/lib/libstdc++.so.6(__gnu_cxx::__verbose_terminate_handler()+0xeb)[0x74e25b] >> /usr/lib/libstdc++.so.6[0x74bf71] >> /usr/lib/libstdc++.so.6[0x74bfa6] >> /usr/lib/libstdc++.so.6[0x74c0ef] >> llvmc(llvm::LLVMC_ConfigDataProvider::ReadConfigData(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x849)[0x8066f65] >> [0x0] >> Aborted >> $ >> ------------------------------------------------------------- >> Forgive my ignorance. >> Thank you. >> >> Seung Jae Lee >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> > >-Chris > >-- >http://nondot.org/sabre/ >http://llvm.org/ >_______________________________________________ >LLVM Developers mailing list >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev