node/lib
Fedor Indutny 54c38eb22e 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-11-22 17:38:09 +08:00
..
internal tickprocessor: apply c++filt manually on mac 2016-11-22 17:38:09 +08:00
.eslintrc tools: avoid let in for loops 2016-11-14 11:39:59 -05:00
_debug_agent.js debugger: make listen address configurable 2016-11-22 14:02:28 +08:00
_debugger.js debugger: remove obsolete setTimeout 2016-07-14 12:44:51 -07:00
_http_agent.js https: fix memory leak with https.request() 2016-11-18 15:40:20 -05:00
_http_client.js http: wait for both prefinish/end to keepalive 2016-07-14 12:44:48 -07:00
_http_common.js http: fix connection upgrade checks 2016-11-22 16:01:03 +08:00
_http_incoming.js http: fix no dumping after maybeReadMore 2016-07-14 12:44:41 -07:00
_http_outgoing.js http: fix connection upgrade checks 2016-11-22 16:01:03 +08:00
_http_server.js http: 451 status code "Unavailable For Legal Reasons" 2016-11-14 18:03:17 -05:00
_linklist.js lib: changed var to const in linkedlist 2016-11-22 14:23:37 +08:00
_stream_duplex.js node: allow multiple arguments passed to nextTick 2015-04-15 17:02:21 -06:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js streams: fix regression in unpipe() 2016-11-14 11:39:59 -05:00
_stream_transform.js stream: prevent object map change in TransformState 2016-03-21 12:57:54 -07:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-23 08:38:33 -08:00
_stream_writable.js test: writable stream ending state 2016-11-17 18:06:59 -05:00
_tls_common.js lib: remove let from for loops 2016-11-14 11:39:59 -05:00
_tls_legacy.js lib: use arrow functions instead of bind 2016-03-02 14:01:11 -08:00
_tls_wrap.js tls: fix leak of WriteWrap+TLSWrap combination 2016-11-17 18:00:19 -05:00
assert.js assert: remove code that is never reached 2016-10-26 14:09:21 -04:00
buffer.js buffer: fix fill with encoding in Buffer.alloc() 2016-10-26 14:09:29 -04:00
child_process.js child_process: Check stderr before accessing it 2016-10-26 14:09:29 -04:00
cluster.js cluster: remove bind() and self 2016-10-26 14:09:01 -04:00
console.js console: check that stderr is writable 2016-03-30 13:12:14 -07:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js streams: refactor LazyTransform to internal/ 2015-09-15 13:53:21 -04:00
dgram.js dgram: generalized send queue to handle close 2016-11-22 14:07:37 +08:00
dns.js dns: tweak regex for IPv6 addresses 2016-10-26 14:09:18 -04:00
domain.js domains: fix handling of uncaught exceptions 2015-12-23 08:38:33 -08:00
events.js events: pass the original listener added by once 2016-11-22 15:55:16 +08:00
freelist.js lib,test: add freelist deprecation and test 2015-07-17 19:48:31 -07:00
fs.js fs: Remove unused branches 2016-04-08 16:42:49 -04:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
https.js lib: reduce usage of self = this 2016-03-30 13:12:13 -07:00
module.js lib: implement consistent brace style 2016-10-26 14:08:53 -04:00
net.js net: fix ambiguity in EOF handling 2016-11-11 14:55:36 -05:00
os.js lib: refactor code with startsWith/endsWith 2016-04-08 17:16:43 -04:00
path.js lib: scope loop variables 2016-03-02 14:01:11 -08:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: don't stringify bad surrogate pair 2016-04-11 11:10:47 -04:00
readline.js readline: keypress trigger for escape character 2016-10-26 14:09:04 -04:00
repl.js lib: remove let from for loops 2016-11-14 11:39:59 -05:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 08:39:34 +10:00
string_decoder.js string_decoder: fix performance regression 2016-03-21 12:57:54 -07:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js tools: add Node.js-specific ESLint rules 2016-03-21 12:57:57 -07:00
tls.js lib: remove let from for loops 2016-11-14 11:39:59 -05:00
tty.js tty: use blocking mode on OS X 2016-07-14 12:44:34 -07:00
url.js lib: remove let from for loops 2016-11-14 11:39:59 -05:00
util.js util: use template strings 2016-11-22 15:06:17 +08:00
v8.js src: add total_available_size to v8 statistics 2015-08-11 22:51:50 +02:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js zlib: release callback and buffer after processing 2016-07-12 10:59:42 -07:00