]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Filter out the dynamic linker from back traces.
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 7 Oct 2013 20:57:51 +0000 (20:57 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 7 Oct 2013 20:57:51 +0000 (20:57 +0000)
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13626

tests/filter_libc

index 273eff4e5ac72e6e663d131c85e6861b9778b3e9..9fad2f5160045e19c518a0e2c36df72cddb036a9 100755 (executable)
@@ -13,6 +13,9 @@ while (<>)
     s/\(in \/.*(libc|libSystem).*\)$/(in \/...libc...)/;
     s/\(within \/.*(libc|libSystem).*\)$/(within \/...libc...)/;
 
+    # Filter out dynamic loader
+    s/\(in \/.*ld-.*so\)$//;
+
     # Remove the filename -- on some platforms (eg. Linux) it will be in
     # libc, on some (eg. Darwin) it will be in the main executable.
     s/\(below main\) \(.+\)$/(below main)/;