From e2d277a8155be3967858b317ae7714e3bf322958 Mon Sep 17 00:00:00 2001 From: "Philippe M. Chiasson" Date: Mon, 11 Aug 2008 15:16:59 +0100 Subject: [PATCH] Bug 448003 Z/mZ values are off by 100 on OS X. r=ted --- tools/codesighs/nm_wrap_osx.pl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/codesighs/nm_wrap_osx.pl b/tools/codesighs/nm_wrap_osx.pl index a83cef3d4e2f..d9296a500d6a 100755 --- a/tools/codesighs/nm_wrap_osx.pl +++ b/tools/codesighs/nm_wrap_osx.pl @@ -60,7 +60,15 @@ while () my($addr) = $2; my($kind) = $3; my($symbol) = $4; - + + #Skip absolute addresses, there should be only a few + if ('A' eq $kind) { + if ('trampoline_size' ne $symbol) { + warn "Encountered unknown absolutely addressed symbol '$symbol' in $module"; + } + next; + } + # we expect the input to have been piped through c++filt to # demangle symbols. For some reason, it doesn't always demangle # all of them, so push still-mangled symbols back through c++filt again.