Displaying 2 results from an estimated 2 matches for "libcrashme".
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)
...aniel 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 "libcrashme.so" and initializes OpenGL
// - which in turn uses mesa, which uses llvm-3.4
#include "GL/freeglut.h"
#include "GL/gl.h"
void foo(); // Defined in libcrashme.so
// Dummy OpenGL display func
void display ()
{
}
int main(int argc, char** argv)
{
foo(); // Call our dumm...
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)
...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>