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/