Displaying 2 results from an estimated 2 matches for "llvmcrash".
2015 Feb 16
4
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...teWindow () from
/usr/lib/i386-linux-gnu/libglut.so.3
#20 0xb7fa2943 in glutCreateWindow () from
/usr/lib/i386-linux-gnu/libglut.so.3
#21 0x0808b6c2 in main ()
I could drill it down to a testcase like this:
(You can view and clone the source from my github repository:
https://github.com/daniel-kun/llvmcrash )
daniel at ubuntu32-dev:~/projects/llvmcrash/app$ cat crashme.cpp
// Shared Library that is linked to the program "app"
#include <llvm/IR/LLVMContext.h>
llvm::LLVMContext c;
void foo () {
}
daniel at ubuntu32-dev:~/projects/llvmcrash/app$ cat app.cpp
// Main program that links &...
2015 Feb 17
2
[LLVMdev] Segfault when using llvm-3.6 and OpenGL at the same time on Linux (with mesa, which uses llvm-3.4)
...ake sure that the llvm symbols
> in the mesa driver and also the llvm symbols in your application aren't
> being exported as global symbols.
How do I have control about how llvm symbols are being exported?
nm reports no exported symbols matching llvm:
daniel at ubuntu32-dev:~/projects/llvmcrash$ nm libcrashme.so | grep llvm
U _ZN4llvm11LLVMContextC1Ev
U _ZN4llvm11LLVMContextD1Ev
Thanks!
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150217/992db1a7/attachment.html>