Displaying 4 results from an estimated 4 matches for "xialong".
Did you mean:
xiaolong
2012 May 22
0
[LLVMdev] How to get llvm bitcode executed
Hi Xialong,
> I have a program that uses C++ STL a lot. To have the source code for
> STL functions, I undefined "_GLIBCXX_EXTERN_TEMPLATE" in
> c++config.h. In spite of this, after compilation (via clang) and
> linking (via llvm-ld), the resulting bitcode contains a few declared
> f...
2012 May 22
2
[LLVMdev] How to get llvm bitcode executed
...e
compilation process. For instance, "llc -o test.s test.bc" works and
generates "test.s"; "g++ -o test.o test.s" throws out "Unknown
pseudo-op: .cfi_startproc" messages, however. Not sure about the
reasons yet.
Xiaolong
Duncan Sands wrote:
>
> Hi Xialong,
>
> > I have a program that uses C++ STL a lot. To have the source code for
> > STL functions, I undefined "_GLIBCXX_EXTERN_TEMPLATE" in
> > c++config.h. In spite of this, after compilation (via clang) and
> > linking (via llvm-ld), the resulting bitcode conta...
2012 May 22
4
[LLVMdev] How to get llvm bitcode executed
Hi All,
I have a program that uses C++ STL a lot. To have the source code for
STL functions, I undefined "_GLIBCXX_EXTERN_TEMPLATE" in
c++config.h. In spite of this, after compilation (via clang) and
linking (via llvm-ld), the resulting bitcode contains a few declared
functions (with no definitions).
My question is: In the scenario where some function definitions are
missing in a llvm
2012 May 23
0
[LLVMdev] How to get llvm bitcode executed
....s" throws out "Unknown
> pseudo-op: .cfi_startproc" messages, however. Not sure about the
> reasons yet.
This means that your binutils is too old. Try passing -disable-cfi
to llc.
Ciao, Duncan.
>
> Xiaolong
>
>
>
> Duncan Sands wrote:
>>
>> Hi Xialong,
>>
>>> I have a program that uses C++ STL a lot. To have the source code for
>>> STL functions, I undefined "_GLIBCXX_EXTERN_TEMPLATE" in
>>> c++config.h. In spite of this, after compilation (via clang) and
>>> linking (via llvm-ld), the resultin...