search for: _glibcxx_extern_template

Displaying 5 results from an estimated 5 matches for "_glibcxx_extern_template".

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 bitcode, can we get a way to run thi...
2012 May 22
0
[LLVMdev] How to get llvm bitcode executed
...interpretation. Then another question emerges: Is there a way to determine the necessary libraries in need? And where to locate these necessary libraries? Xiaolong > 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 bitcod...
2012 May 22
2
[LLVMdev] How to get llvm bitcode executed
...quot; 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 contains a few declared > > functions (with no definitions). > > > > My question is: In the scenario where some function definitions are >...
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 > functions (with no definitions). > > My question is: In the scenario where some function definitions are > missing in a llvm bitcode...
2012 May 23
0
[LLVMdev] How to get llvm bitcode executed
...r 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 resulting bitcode contains a few declared >>> functions (with no definitions). >>> >>> My question is: In the scenario where some function defini...