Files
node/lib
Fedor Indutny eff771f399 tickprocessor: apply c++filt manually on mac
`/bin/sh -c` trick wasn't working for several reasons:

* `/bin/sh -c "..."` expects the first argument after `"..."` to be a
  `$0`, not a `$1`. Previously `-n` wasn't passed to `nm` because of
  this, and many symbols were ordered improperly
* `c++filt` was applied not only to the names of the functions but to
  their `nm` prefixes like `t` and `a` (`t xxx` turns into
  `unsigned char xxx`).

Instead of applying `c++filt` wide and using `sh -c`, execute `nm` as
requested by `deps/v8/tools/tickprocessor.js` and apply `c++filt` to all
matching entries manually.

Included test demonstrates where previous approach failed: all builtins
were merged into `v8::internal::Builtins::~Builtins`, because they were
prefixed by `t` in `nm` output.

PR-URL: https://github.com/nodejs/node/pull/8480
Reviewed-By: Matthew Loring <mattloring@google.com>
2016-09-13 17:04:47 -07:00
..
2015-10-08 17:32:08 -07:00
2016-09-13 17:04:45 -07:00
2016-09-13 17:04:42 -07:00
2016-08-24 08:01:59 -05:00
2016-03-21 15:48:51 -07:00
2016-07-05 22:09:12 +02:00
2016-06-02 22:37:00 +10:00
2016-07-05 22:10:22 +02:00
2016-09-09 11:06:07 -04:00
2016-08-11 10:58:11 -04:00