Sha256: e1ab28421974a752f709689a0b702afb29af6f046e4a95e3af71077260b69a6a

Contents?: true

Size: 746 Bytes

Versions: 116

Compression:

Stored size: 746 Bytes

Contents

#!/bin/sh

# This script is a wrapper for OS X nm(1) tool. nm(1) perform C++ function
# names demangling, so we're piping its output to c++filt(1) tool which does it.
# But c++filt(1) comes with XCode (as a part of GNU binutils), so it doesn't
# guaranteed to exist on a system.
#
# An alternative approach is to perform demangling in tick processor, but
# for GNU C++ ABI this is a complex process (see cp-demangle.c sources), and
# can't be done partially, because term boundaries are plain text symbols, such
# as 'N', 'E', so one can't just do a search through a function name, it really
# needs to be parsed, which requires a lot of knowledge to be coded in.

if [ "`which c++filt`" == "" ]; then
  nm "$@"
else
  nm "$@" | c++filt -p -i
fi

Version data entries

116 entries across 112 versions & 12 rubygems

Version Path
therubyracer-0.8.2.pre ext/v8/upstream/3.1.8/tools/mac-nm
therubyracer-0.8.1 ext/v8/upstream/3.1.8/tools/mac-nm
mustang-0.0.1 vendor/v8/tools/mac-nm
therubyracer-0.8.1.pre2 ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-heroku-0.8.1.pre3 ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-heroku-0.8.1.pre2 ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-heroku-0.8.1.pre2 ext/v8/upstream/build/v8/tools/mac-nm
therubyracer-0.8.1.pre1 ext/v8/upstream/2.3.3/tools/mac-nm
rednode-0.1.2 ext/node/deps/v8/tools/mac-nm
therubyracer-0.8.0 ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-0.8.0.pre3 ext/v8/upstream/2.3.3/tools/mac-nm
rednode-0.1.1 ext/node/deps/v8/tools/mac-nm
rednode-0.1.0 ext/node/deps/v8/tools/mac-nm
therubyracer-0.8.0.pre2 ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-0.8.0.pre ext/v8/upstream/2.3.3/tools/mac-nm
therubyracer-0.7.5 ext/v8/upstream/2.3.3/tools/mac-nm
tomato-0.0.1.prealpha2 ext/tomato/external/build/v8/tools/mac-nm
tomato-0.0.1.prealpha2 ext/tomato/external/v8/tools/mac-nm
tomato-0.0.1.prealpha1 ext/tomato/external/build/v8/tools/mac-nm
tomato-0.0.1.prealpha1 ext/tomato/external/v8/tools/mac-nm