Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: tools/tickprocessor.js

Issue 180063: Fix issue 434: make OS::LogSharedLibraryAddresses work on x64 Mac. (Closed)
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/platform-macos.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 funcInfo.size = parseInt(fields[2], 16); 469 funcInfo.size = parseInt(fields[2], 16);
470 } 470 }
471 } 471 }
472 return funcInfo; 472 return funcInfo;
473 }; 473 };
474 474
475 475
476 function MacCppEntriesProvider(nmExec) { 476 function MacCppEntriesProvider(nmExec) {
477 UnixCppEntriesProvider.call(this, nmExec); 477 UnixCppEntriesProvider.call(this, nmExec);
478 // Note an empty group. It is required, as UnixCppEntriesProvider expects 3 gr oups. 478 // Note an empty group. It is required, as UnixCppEntriesProvider expects 3 gr oups.
479 this.FUNC_RE = /^([0-9a-fA-F]{8}) ()[iItT] (.*)$/; 479 this.FUNC_RE = /^([0-9a-fA-F]{8,16}) ()[iItT] (.*)$/;
480 }; 480 };
481 inherits(MacCppEntriesProvider, UnixCppEntriesProvider); 481 inherits(MacCppEntriesProvider, UnixCppEntriesProvider);
482 482
483 483
484 MacCppEntriesProvider.prototype.loadSymbols = function(libName) { 484 MacCppEntriesProvider.prototype.loadSymbols = function(libName) {
485 this.parsePos = 0; 485 this.parsePos = 0;
486 try { 486 try {
487 this.symbols = [os.system(this.nmExec, ['-n', '-f', libName], -1, -1), '']; 487 this.symbols = [os.system(this.nmExec, ['-n', '-f', libName], -1, -1), ''];
488 } catch (e) { 488 } catch (e) {
489 // If the library cannot be found on this system let's not panic. 489 // If the library cannot be found on this system let's not panic.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) { 673 if (arg !== synArg && dispatch === this.argsDispatch_[synArg]) {
674 synonims.push(synArg); 674 synonims.push(synArg);
675 delete this.argsDispatch_[synArg]; 675 delete this.argsDispatch_[synArg];
676 } 676 }
677 } 677 }
678 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]); 678 print(' ' + padRight(synonims.join(', '), 20) + dispatch[2]);
679 } 679 }
680 quit(2); 680 quit(2);
681 }; 681 };
682 682
OLDNEW
« no previous file with comments | « src/platform-macos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698