Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
v8z: cherry-pick 1383d00 from v8 upstream 5.2.22
Browse files Browse the repository at this point in the history
Node PR: nodejs#6179 Commit: a11d506
  • Loading branch information
gibfahn committed Apr 28, 2016
1 parent f8d5b7a commit 6e8bba4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deps/v8z/tools/tickprocessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,8 +757,11 @@ inherits(MacCppEntriesProvider, UnixCppEntriesProvider);
MacCppEntriesProvider.prototype.loadSymbols = function(libName) {
this.parsePos = 0;
libName = this.targetRootFS + libName;

// It seems that in OS X `nm` thinks that `-f` is a format option, not a
// "flat" display option flag.
try {
this.symbols = [os.system(this.nmExec, ['-n', '-f', libName], -1, -1), ''];
this.symbols = [os.system(this.nmExec, ['-n', libName], -1, -1), ''];
} catch (e) {
// If the library cannot be found on this system let's not panic.
this.symbols = '';
Expand Down

0 comments on commit 6e8bba4

Please sign in to comment.