I figure I'll answer my own question because it was a stupid mistake on my
part :-/

When linking the shared library make sure to use the
-Wl,-soname,libraryname.so option to set the LD_SONAME

So invoking Valgrind with --soname-synonyms=somalloc=libraryname.so works
like a charm :)




--
View this message in context: 
http://valgrind.10908.n7.nabble.com/soname-synonym-replace-libcmalloc-tp43829p43845.html
Sent from the Valgrind - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to