[Mesa-dev] [PATCH 05/12] gallivm: Use LLVM global context.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Tue May 20 22:43:36 PDT 2014


Hi,

On Monday, May 19, 2014 15:59:30 Michel Dänzer wrote:
> On 19.05.2014 15:03, Mathias Fröhlich wrote:
> > 
> > I tried to get my local llvm install again to a point where I can see
> > backtrace information, but still failed to get valgrind/massif to print
> > these nice backtraces. All of the llvm addresses are not resolved so far.
> 
> You may want to try some or all of these parameters for LLVM's configure:
> 
> '--enable-optimized' '--with-optimize-option=-fno-omit-frame-pointer -O2
> [...]' '--enable-assertions' '--enable-debug-runtime'
> '--enable-debug-symbols' 'CC=gcc' 'CXX=g++'
Thanks, I was searching for a while, but disabling the linker script
unexporting all unnecessary symbols does the trick for massif.
For my test install I use a static llvm to rule out errors by finding
the wrong shared llvm so's.
So hiding these symbols also hides them from valgrind/massif.

Greetings

Mathias






More information about the mesa-dev mailing list