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
..
internal tickprocessor: apply c++filt manually on mac 2016-09-13 17:04:47 -07:00
.eslintrc tools: add buffer-constructor eslint rule 2016-03-18 17:05:18 -07:00
_debug_agent.js debugger: use arrow function for lexical this 2016-08-24 07:54:48 -05:00
_debugger.js debugger: remove obsolete setTimeout 2016-06-15 18:08:18 -05:00
_http_agent.js tls,https: respect address family when connecting 2016-06-02 22:41:59 +10:00
_http_client.js http: wait for both prefinish/end to keepalive 2016-06-15 18:02:01 -05:00
_http_common.js http: fix connection upgrade checks 2016-09-09 11:06:06 -04:00
_http_incoming.js http: fix no dumping after maybeReadMore 2016-06-15 21:50:05 -05:00
_http_outgoing.js http: fix connection upgrade checks 2016-09-09 11:06:06 -04:00
_http_server.js tools: lint for object literal spacing 2016-05-17 08:16:09 -05:00
_linklist.js lib,test: deprecate _linklist 2015-10-08 17:32:08 -07: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 stream: avoid caching prepend check 2016-08-24 07:50:34 -05:00
_stream_transform.js stream: prevent object map change in TransformState 2016-02-02 13:05:04 -06:00
_stream_wrap.js stream_wrap: error if stream has StringDecoder 2015-12-06 21:55:25 -05:00
_stream_writable.js doc: make writable.setDefaultEncoding() return this 2016-05-03 20:20:38 -04:00
_tls_common.js src: refactor require('constants') 2016-07-05 22:09:12 +02:00
_tls_legacy.js lib: replace legacy uses of __defineGetter__ 2016-05-17 08:39:13 -05:00
_tls_wrap.js buffer: introduce latin1 encoding term 2016-08-08 21:37:37 +02:00
assert.js tools: replace custom ESLint rule with built-in 2016-09-13 17:04:47 -07:00
buffer.js buffer: fix ArrayBuffer checks 2016-09-13 17:04:45 -07:00
child_process.js child_process: control argv0 for spawned processes 2016-08-10 12:50:36 -04:00
cluster.js cluster: support stdio option for workers 2016-08-10 12:14:11 -04:00
console.js console: timeEnd() with no label emits warning 2016-04-26 12:16:38 -07:00
constants.js src: refactor require('constants') 2016-07-05 22:09:12 +02:00
crypto.js crypto: add crypto.timingSafeEqual() 2016-09-13 17:04:42 -07:00
dgram.js dgram: generalized send queue to handle close 2016-08-10 11:06:44 -04:00
dns.js dns: remove makeAsync() function check 2016-08-24 08:01:59 -05:00
domain.js lib: reduce usage of self = this 2016-03-21 15:48:51 -07:00
events.js events: make memory leak warning more accessible 2016-09-09 11:06:12 -04:00
fs.js fs: restore JS implementation of realpath 2016-08-15 09:50:26 -04:00
http.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
https.js crypto: fail early when loading crypto without openssl 2016-03-23 10:34:40 -07:00
module.js module: fix node_modules search path in edge case 2016-08-10 12:56:52 -04:00
net.js net: make holding the buffer in memory more robust 2016-09-09 11:06:08 -04:00
os.js src: refactor require('constants') 2016-07-05 22:09:12 +02:00
path.js path: fix basename() regressions 2016-06-02 22:37:00 +10:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js punycode: update to v2.0.0 2016-07-05 22:10:22 +02:00
querystring.js benchmark,test,lib: remove extra spaces 2016-05-17 08:01:12 -05:00
readline.js readline: key interval delay for \r & \n 2016-09-13 17:04:43 -07:00
repl.js repl: Auto alignment for .editor mode 2016-09-09 11:06:07 -04:00
stream.js lib,src: remove usage of events.EventEmitter 2015-09-23 00:23:08 +05:30
string_decoder.js buffer,string_decoder: consolidate encoding validation logic 2016-09-13 16:13:09 -07:00
sys.js util: introduce printDeprecationMessage function 2015-06-04 10:59:43 +03:00
timers.js timers: remove unused repeat param in timer_wrap 2016-08-10 13:03:45 -04:00
tls.js tls: copy the Buffer object before using 2016-08-24 07:49:57 -05:00
tty.js tty: set the handle to blocking mode 2016-08-11 10:58:11 -04:00
url.js url: fix off-by-one error in loop handling dots 2016-09-13 17:04:45 -07:00
util.js util: improve function signature of util._extend 2016-09-09 11:06:06 -04:00
v8.js v8,src: expose statistics about heap spaces 2016-01-18 11:44:00 -05:00
vm.js vm: change ContextifyScript to Script in comment 2016-09-13 17:04:43 -07:00
zlib.js zlib: release callback and buffer after processing 2016-06-02 22:41:58 +10:00